作者sin282 (@兴...)
看板Web_Design
标题[问题] 框架frame使用html5 video tag无法全萤幕
时间Tue Dec 8 17:46:29 2015
请问有没有办法在使用框架frameset情况下启用全萤幕功能,谢谢您.
状况:
1.框架frame 使用 video 加了controls 无法全萤幕显示.
补充:
*全萤幕按钮会自动被隐藏,而直接打开right则会显示.
*加入 allowfullscreen 无用.
allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"
code:
Parent: index.html
<html>
<head>
<title>Main</title>
</head>
<frameset cols="190,*" >
<frame src="left.html" >
<frame src="right.html">
</frameset>
</html>
Videl Page:right.html
<html>
<head>
<title>right</title>
</head>
<video src="content/Assessment/video/b08_02.mp4" class="tv_img"
id="Video1" controls autoplay allowfullscreen></video>
</html
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 122.117.157.32
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1449567992.A.980.html
※ 编辑: sin282 (122.117.157.32), 12/08/2015 17:48:58
1F:推 oToToT: 不要再用frame了啦,改用iframe呦 12/08 20:29