Home > Web Front-end > HTML Tutorial > 在iframe标签中引用优酷中的视频,不能全屏播放_html/css_WEB-ITnose

在iframe标签中引用优酷中的视频,不能全屏播放_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:36:26
Original
2033 people have browsed it

                width="300" height="200"
                allowscriptaccess="always" 
                allowfullscreen="true"
        wmode="opaque" 
                allowTransparency="true"
                frameborder="0"
                type="application/x-shockwave-flash"
                style="margin:30px 0 0 85px;">                
 >

这是代码,小弟新手,求大神指导。


回复讨论(解决方案)

你的iframe设置为固定的高和宽(width="300" height="200").

 <iframe height=498 width=510 src="http://player.youku.com/embed/XMTMyNDIzNTYwOA=="                            allowscriptaccess="always"                            allowfullscreen="true"                            wmode="opaque"                            allowTransparency="true"                            frameborder="0"                            type="application/x-shockwave-flash"                            style="margin:30px 0 0 85px;"></iframe>
Copy after login
Copy after login


帮你测试了,可以的

 <iframe height=498 width=510 src="http://player.youku.com/embed/XMTMyNDIzNTYwOA=="                            allowscriptaccess="always"                            allowfullscreen="true"                            wmode="opaque"                            allowTransparency="true"                            frameborder="0"                            type="application/x-shockwave-flash"                            style="margin:30px 0 0 85px;"></iframe>
Copy after login
Copy after login


帮你测试了,可以的


这个问题是视频格式的问题吗?怎么我换上我的视频地址就全屏不了?
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template