4

I am trying to use JW player so that it can play MP4 videos on Firefox but the problem is that it does not playing MP4 on firefox on the other hand it correctly working on Chrome and IE9 here is my code

<!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>
4

1 回答 1

1

我刚刚通过重新编码 mp4 解决了这个问题。

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

于 2013-10-31T16:30:51.067 回答