Adding Video Tag in iframe
I have an iframe inside Div in which i want to add video . I have added the URL path for the video correctly but not getting video on the screen neither i am getting any error on the browser console.Here is the HTML for the whole.. <div style="position:relative; width: 100%; height: 0; padding-bottom: 56.25%;"> <iframe width="420" height="315" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"> <video id='video-player' autoplay preload='metadata' controls> <source src="Video/Sapno.MP4" type="video/mp4"> </video> </iframe> </div> Please help
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.