我花了将近2个小时,仍然不能让它工作,我在这里放了一个测试文件(使用mediaelement.js的视频,以避免与编解码器冲突)。你可以在这里看到它:
ikperawang.com/test.html
正如您所看到的,我已经将其设置为html5,路径是正确的,但是mediaelement.js仍然无法播放视频
有没有人可以测试一下,让我知道我错过了什么?
发布于 2012-10-04 17:18:03
你必须告诉MediaElementJS通过javascript显式地渲染你的视频。
<body>
<video src="images/videos/echo-hereweare.mp4" width="320" height="240"></video>
<script>
$('video').mediaelementplayer();
</script>
</body>https://stackoverflow.com/questions/12708902
复制相似问题