
Error loading player : no playable source found in Mozilla fire fox
Hi i am using aws cloud front for generating the url . For playing the video i am using jw player. Now the jw player is playing the video in chrome but not in fire fox .
Please have a look at my code.
I am calling this function when user clicks on a specific button.
function fnPlayVideo(data)
{
debugger;
if (data.d == null) {
$('#msg').removeClass('hidden');
$('#msg').text('there is an error in playing the video.You may see this error because of session timeout.re-login to resume video training.');
}
else {
jwplayer('mediaplayer').setup({
file: data.d,
width: '100%',
aspectratio: '3:1.7',
autostart: 'true'
});
}
}
Note: the code is using the following url
rtmp://s3kcajs8aynmi0.cloudfront.net/cfx/st/mp4:Arrays?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiQXJyYXlzIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDM5MTkyNzQyfX19XX0_&Signature=VqjRFCQJtLkswvtJNNs8-kO4tkjFOsSXyIbOeCSFbxCMu7hGy5FeImI6hlqlqzeJW2uLJvY1a1OFqLIP4Ge2OgQq4jFn~sa30iM-0h5xIM8Lid6-ji4Vg1uVEGlx0yPKiEkpI7ZALR9wVdEwRSbJ9mUgStRkaxaIvkineqgw~Zqigrxxw~EYqZWqQr-ctfkhEvxMWcERKAFFAPXai8lRArDc8b-EAEmuY7qFoXXfnO0-8ArGZNpQTPQc72zUTznWRi8kRD1rI7TLWLfMVsi-cO2PqXvIG2IoaYi6idp8BaLLk2jdQijyipoSlgPDLexQYC-5CgPSvzqYlsIzh3F~QQ__&Key-Pair-Id=APKAJTSXVYOHDNPTXSQA
I added the jwplayer required javascript file in the head section as follows.
<script type='text/javascript' src='https://di8tk4rj41ou9.cloudfront.net/jwplayer.js'></script>
Please suggest me the solution for the problem.