close

Welcome to PlayTube Demo!


Please note that the upload system is temporarily disabled for public use on our demo due to a lot of users uploading illegal content. You can still upload videos. However, the video privacy will be set to private as default. Your video will not show in the demo version.

watermark logo

Up next

Autoplay

video tutorial

33 Views • 30 December 2019
Share
Embed
manish89578
manish89578
Subscribers
0

HTML video tutorial - 104 - html5 video tag - Part 1

HTML5 video tag - Part 1:

Before html5 to play video files, user need to install player plugins like flash player or any other equivalent player in browsers. Which would take more storage and extra resources.
Also almost all of the mobile platforms dont support flash player now days hope you know that.
Then whats the solution to these problem?
How do we let users to play video files on any platform without depending on plugins?
The solution is HTML5 video tag.
Almost all modern browsers of almost all platforms support HTML5 video tag.
Now using HTML5 video tag user can play video files without installing any plugins.
Because videos are directly played by browsers. Hence need not to depend on plugins.

video tag is a paired and inline level tag.
attributes:
src : accepts source video to be played (mp4,m4v,mov,ogv,webm)
autoplay : used to control auto play behavior of a video
controls: add video controlls at the bottom of video.

=========================================

Follow the link for next video:
HTML video tutorial - 105 - html5 video tag - Part 2
https://youtu.be/H77m14Du9O0

Follow the link for previous video:
HTML video tutorial - 103 - HTML5 forms - Part 3
https://youtu.be/KUyDYe9hjEg

======= HTML Questions & Answers ==========

1. HTML video tag has ________ attribute to control autoplay behavior of a video on load of a page?
a. autostart
b. autoplay
c. controls
d. poster
Answer: b

=========================================

Show more
0 Comments sort Sort By

Up next

Autoplay