mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
aider: Added a poster image to the video tag
# Aider chat conversation: USER: add the highlight image as the thumbnail that will show before the <video> tag plays ASSISTANT: To add the highlight image as a thumbnail that shows before the video plays, we can use the `poster` attribute on the `<video>` tag. Here is the *SEARCH/REPLACE* block: _posts/2024-05-02-browser.md <source> <<<<<<< SEARCH <video width="704" height="720" controls> ======= <video width="704" height="720" controls poster="/assets/browser.jpg"> >>>>>>> REPLACE </source> The `poster` attribute specifies an image to be shown while the video is downloading, or until the user hits the play button. This will display the `browser.jpg` image before the video starts playing.
This commit is contained in:
parent
b087cd670f
commit
db0e420ea0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ highlight_image: /assets/browser.jpg
|
|||
---
|
||||
# AI pair programming in your browser
|
||||
|
||||
<video width="704" height="720" controls>
|
||||
<video width="704" height="720" controls poster="/assets/browser.jpg">
|
||||
<source src="/assets/aider-browser-social.mp4" type="video/mp4">
|
||||
[Aider browser UI demo video](/assets/aider-browser-social.mp4)
|
||||
</video>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue