Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to display the first frame of the video element in html

Try appending  #t={seconds} to the end of your src value. Here's an example:

<video width="300" height="150">
   <source src="testvideo.mp4#t=0.1" type="video/mp4" />
</video>

It works fine on Chrome/Firefox and many other browsers.
Comment

PREVIOUS NEXT
Code Example
Html :: mailto like call 
Html :: fa icon person 
Html :: ejs ternary 
Html :: ordering collumns in bootstrap 
Html :: how to make anchor tag open in new tab 
Html :: html css good button 
Html :: bootstrap radio button 
Html :: jsonplaceholder with delay 
Html :: how to add js to html 
Html :: html writing shortcuts 
Html :: make text bold js 
Html :: bootstrap starter template 
Html :: tailwind css header 
Html :: bootstrap 4 search box 
Html :: html table stack overflow 
Html :: whatsapp link html 
Html :: button href 
Html :: css stick div to bottom of page 
Html :: ip html 
Html :: innerhtml angular 
Html :: svg marker 
Html :: metadata 
Html :: datetime local input 
Html :: how to remove line in href tag in html 
Html :: bootstrap checkbox 
Html :: html definition list 
Html :: node mailer send html 
Html :: iframe render html in angular 
Html :: ios to pc file transfer 
Html :: button md file 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =