How does the HTML5 video tag eliminate the need for plugins. What does the video tag do in addition to the previously used tags like embed and object that removes requiring a plugin?
Please explain in detail.
How does the HTML5 video tag eliminate the need for plugins. What does the
Share
Browsers that support HTML5 players have ability to shown the default or built-in player when using
<video>tag.The
<video>tag does nothing to other/old tags but it does provide you an option for the fallback. If a browser does not support HTML5, they will fallback to old methods such as<embed>,<object>. Here is an example:As you can see, we have specified
<object>tag inside<video>tag. Though it is optional but you need to specify it for browsers that don’t support HTML5. In above case, if a browser supports HTML5, the<video>tag will be used and<object>tag will be ignored and vice versa.For in-depth details about HTML5 video, take a look at: