我该怎么做,我已经尝试了大约一个小时并且视频有效,它只是没有以全屏模式开始!
这是我的代码:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script type="text/javascript" src="//releases.flowplayer.org/5.4.3/flowplayer.min.js"></script>
<link rel="stylesheet" type="text/css" href="//releases.flowplayer.org/5.4.3/skin/minimalist.css">
<script>
flowplayer.conf = {
native_fullscreen: 'true',
fullscreen: 'true',
muted: 'true'
};
</script>
和输出html:
<div class="flowplayer" id="flowplayer" >
<video autoplay>
<source type="video/mp4" src="[[+FlowplayerVideo]]">
</video>
</div>