Drupal Youtube视频全屏不工作
全屏按钮不工作。 我的来源是youtube视频,我使用HTML5和mediaelement 2.13.2 例如:Drupal Youtube视频全屏不工作,drupal,youtube,mediaelement.js,Drupal,Youtube,Mediaelement.js,全屏按钮不工作。 我的来源是youtube视频,我使用HTML5和mediaelement 2.13.2 例如: <video width="650" height="360" id="player1" preload="none"> <source type="video/youtube" src="http://www.youtube.com/watch?v=ID" /> </video> 然后我允许全屏显示如下: <script type="
<video width="650" height="360" id="player1" preload="none">
<source type="video/youtube" src="http://www.youtube.com/watch?v=ID" />
</video>
然后我允许全屏显示如下:
<script type="text/javascript">
jQuery('video').mediaelementplayer({
allowfullscreen: 'true'
});
</script>
jQuery(“视频”).mediaelementplayer({
allowfullscreen:'真'
});
我正在使用drupal模块在网站中实现mediaelement js文件
该模块给了我一个例子,在这里,全屏工作
你能帮我吗
谢谢因为您的视频来自youtube,您为什么不使用youtube嵌入代码呢?这是因为我想拥有另一张皮肤