
Video not displaying in Chrome or Safari
The swf loads the placeholder image, executes the playerReady command but doesn't load the flv. Instead a black screen with an unresponsive control bar and a centered play icon is displayed.
This doesn't happen in Firefox or IE, but does in Chrome (Mac & PC) and Safari (Mac).
an example is here:
bc.. http://www.my-wardrobe.com/video_test/index.php
JS scripts are:
function playerReady(){
jQuery('#video_img').fadeOut(1000,function () {
jwplayer().play();
jQuery('#container').html('done');
});
}
jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
file: "new_e_fade_02.flv",
width: 759,
height: 573,
icons: false,
autostart: false,
dock:false,
image: 'img_01.jpg',
controlbar: 'none',
backcolor: '#ffffff',
events: {
onComplete: function() {
jQuery('#video_div2').html('');
jQuery('#video_img').fadeIn(1000);
}
}
});