html - Adding Video Tag in iframe -
I have an iframe in the developer in which I want to add video. I have correctly added a URL path to the video but the video is not found on the screen, neither I am getting any error on the browser console. Here's the whole HTML.
& lt; Div style = "position: relative, width: 100%; height: 0; padding-bottom: 56.25%;" & Gt; & Lt; Iframe width = "420" height = "315" frameborder = "0" acceptable screen style = "position: full; top: 0; left: 0; width: 100%; height: 100%;" & Gt; & Lt; Video ID = 'Video-player' autoplay preload = 'Metadata' control & gt; & Lt; Source src = "video / Sapno.MP4" type = "video / mp34" & gt; & Lt; / Video & gt; & Lt; / Iframe & gt; & Lt; / Div & gt;
Please help me display videos on my website .. Thanks ..
You do not need to use an iframe here, if you remove the iframe, this will work, if you need iframe for any reason, then you will see the" src "in the iframe with the link to the video "Attribute will be added. / P>
& lt; Div style = "position: relative; width: 100%; height: 0; padding-bottom: 56.25%;" & Gt; & Lt; Video ID = 'Video-player' autoplay preload = 'Metadata' control & gt; & Lt; Source src = "video / Sapno.MP4" type = "video / mp34" & gt; & Lt; / Video & gt; & Lt; / Div & gt;
Comments
Post a Comment