+ 2
How do i upload video to an html file
5 Antworten
+ 6
<video controls>
<source src = "path of your video file">
Your browser does not support this video format
</video>
you can use this code to add video to your web page.you can use the width and height attributes.
+ 4
You don't upload video to html file: you link a video file uploaded somewhere in internet to html file (insert a video tag with the src attribute set with the uploaded video url).
The only reasonable way to really embed a video in an html file would be to skip sound and transform to gif a very small sequence (in time and in size)... and encode it as base 64. Even by this way, you fill end with an enormous html file (even a single tiny image in base 64 encoding will have quickly heavy weight: any binary data could be encoded by this way, but its size will be multiplied by 3 or 4 in that plain text encoding) ;)
0
Thanks
0
<video controls>
<source src = "location of video">
Text
</video>