CodeClerks

how to add audio and video of html?



Enter a reason for deleting this comment

how to add audio and video of html?

how to add audio and video of html?

Comments

Please login or sign up to leave a comment

Join
jakemadness


//Audio embed
<embed src="http://picosong.com/3qK4/" width="0" height="0" style="opacity:0;" autostart="true" loop="true" volume="100"/>
 
//Video embed
<object width="560" height="315">
<embed src="//www.youtube.com/v/MOg8Cz9yfWg?hl=en_US&version=3" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>
 
//video iframe
<iframe width="560" height="315" src="//www.youtube.com/embed/MOg8Cz9yfWg" frameborder="0" allowfullscreen></iframe>
 



Enter a reason for deleting this comment

andgkj

Another way is to use <video> tag. This tag was introduced with HTML5 how to add audio and video of html?



Enter a reason for deleting this comment

dennis123



Enter a reason for deleting this comment

girlscool

tanks



Enter a reason for deleting this comment