+ 2

How do i upload video to an html file

11th Apr 2020, 3:20 PM
Aura gaming
Aura gaming - avatar
5 Réponses
+ 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.
11th Apr 2020, 3:35 PM
Muhammad Awwab Khan
Muhammad Awwab Khan - avatar
+ 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) ;)
11th Apr 2020, 3:40 PM
visph
visph - avatar
0
Thanks
11th Apr 2020, 3:53 PM
Aura gaming
Aura gaming - avatar
0
<video controls> <source src = "location of video"> Text </video>
12th Apr 2020, 2:34 PM
Hansel