在admin中设置预设后,我使用Media Front
模块在Drupal 7
中使用Open Standards Media Player流式传输视频
我可以运行很少的mp4
个文件。我是否需要安装任何流媒体应用程序?
答案 0 :(得分:1)
看看我在Mediafront下的答案。
MediaFront模块是Drupal的前端媒体解决方案。
它采用创新且直观的管理界面,允许网站管理员无需编写任何代码即可为用户完全自定义前端媒体体验。
需要Open Standard Media (OSM) Player 它需要minPlayer 它需要jQuery-UI ThemeRoller
<!-- Include the core jQuery and jQuery UI -->
<script type='text/javascript' src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<!-- Include the core media player JavaScript. -->
<script type="text/javascript" src="osmplayer/bin/osmplayer.compressed.js"></script>
<!-- Include the DarkHive ThemeRoller jQuery UI theme. -->
<link rel="stylesheet" href="osmplayer/jquery-ui/dark-hive/jquery-ui.css">
<!-- Include the Default template CSS and JavaScript. -->
<link rel="stylesheet" href="osmplayer/templates/default/css/osmplayer_default.css">
<script type="text/javascript" src="osmplayer/templates/default/osmplayer.default.js"></script>
<script type="text/javascript">
$(function() {
$("video").osmplayer({
width: '100%',
height: '600px'
});
});
</script>
<video src="http://progressive.totaleclips.com.edgesuite.net/105/e105598_257.mp4" poster="http://www.movieposter.com/posters/archive/main/143/MPW-71686"></video>