我的MP4视频,我想使用的Flowplayer到流。 它的伟大工程,但是当我把它放在一个iframe,全屏按钮丢失。
这个问题被回答了有人在这里: 我怎样才能启用的Flowplayer 5.2全屏那是在一个iframe?
但是我想不通的地方放flowplayer.conf.fullscreen = true;
这里是我的index.html到目前为止的代码:
<head>
</style>
<!-- player skin -->
<link rel="stylesheet" type="text/css" href="skin/minimalist.css" />
<!-- site specific styling -->
<style>
body { text-align: center; padding-top: 5%; }
.flowplayer { width: 80%; background-color: green;}
</style>
<!-- flowplayer depends on jQuery 1.7.1+ (for now) -->
<!-- leave out http/https from the src to fix issue with controls not loading in Chrome -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<!-- include flowplayer -->
<script type="text/javascript" src="flowplayer.min.js"></script>
</head>
<body>
<!-- the player -->
<div class="flowplayer" data-swf="flowplayer.swf" >
<video>
<source type="video/mp4" src="myvid.mp4"/>
</video>
</div>
</body>