Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need urgent ans....please i'm trying to add a video in my website which is created in visual studio 2005
<video autoplay poster="" id="bgvid" loop>


</video>
i'm using this but it is not working
Posted
Comments
Richard Deeming 13-Jul-15 8:41am    
"It's not working" is not enough information for anyone to help you. Update your question with the precise error you are seeing.

And no, it's not urgent for us.

1 solution

To start a video automatically use the autoplay attribute:

HTML
<video width="320" height="240" autoplay>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>


HTML Video - Browser Support
Currently, there are 3 supported video formats for the &amp;amp;lt;video&amp;amp;gt; element: MP4, WebM, and Ogg:

Browser MP4 WebM Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox YES YES YES
Safari YES NO NO
Opera YES (from Opera 25) YES YES
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900