Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #frame #video #element #html
ADD COMMENT
Topic
Name
2+3 =