繁体   English   中英

JW Player无法在Firefox上播放MP4视频

[英]JW Player does not work on Firefox not playing MP4 videos

我正在尝试使用JW播放器,以便它可以在Firefox上播放MP4视频,但问题是它不能在Firefox上播放MP4,另一方面它正确地在Chrome和IE9上工作这里是我的代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jw player</title>
<script src="http://jwpsrv.com/library/gQaACr0fEeKPFCIACqoQEQ.js"></script>
</head>

<body>
<div id='my-video'></div>
<script type='text/javascript'>
    jwplayer('my-video').setup({
        file: 'http://content.bitsontherun.com/videos/lWMJeVvV-364767.mp4',
        image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
        width: '640',
        height: '360'
    });
</script>

</body>
</html>

我刚刚通过重新编码mp4修复了这个问题。

在这个特定的例子中,我使用手刹来使用默认设置重新编码mp4。 不要单击“web optimized”复选框,因为这似乎给出了您描述的firefox行为。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM