JW Player - video works in chrome, not firefox or IE

See working link .

On the home page, I have two videos (#intro_video and #video_container) that I have no problems with under chrome, but in firefox and IE the video does not play. It downloads the preview image, but when you press the play button, it tries to download for a while, and then returns to the preview.

I tried using jQuery Flash (loads #intro_video):

var so = new SWFObject('/swf/player.swf','ply','670','300','9','#000000');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('playlistfile','/videos/home.rss');
so.addVariable('playlist','left');
so.addVariable('playlistsize','240');
so.addVariable('bufferlength','15');
so.addVariable('plugins','fbit-1');
so.addVariable('dock','true');
so.addVariable('skin','/swf/modieus.swf');
so.addVariable('lightcolor','CC3399');
so.write('video_container');

and recommended javascript (#video_container) from the master with no luck:

$(document).ready(function(){

    // intro video
    $('#intro_video').flash({
        src: '/swf/player.swf', width: 367, height: 260,
        flashvars: {
            allowfullscreen: 'true', 
            allowscriptaccess: 'always', 
            wmode: 'opaque',
            file: 'http://www.888behindthescenes.com/media/videos/intro2.flv', 
            image: '/images/sized/media/videos/previews/intro-370x228.jpg',
            skin: '/swf/modieus.swf', 
            backcolor: '000000', 
            frontcolor: 'FFFFFF', 
            lightcolor: 'CC3399'
        }
    });

});

The flash loads fine, not the video. Any help is appreciated.

+3
source share
1 answer

:

AddType video/x-flv .flv

to htaccess.

+2

Source: https://habr.com/ru/post/1729655/


All Articles