I have below code,
var flashvars = {};
flashvars.src = "path-to-src";
flashvars.controlBarAutoHide = "false";
flashvars.poster = "path-to-thumbnail";
flashvars.autoPlay = "false";
var attributes = {};
var params = {};
params.wmode = "transparent";
params.allowfullscreen = "true";
var callbackfn = function(e){
// console.log(e)
}
swfobject.embedSWF("http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf", "altContent", "800", "500", "10.2.0", "/path-to/expressInstall.swf", flashvars, params, attributes, callbackfn);
swfurl i.e.(http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf) in above code giving me 404 error hence video is not playing
Qn:
Is there a way if swfurl is 404 then we can replace it with other url (path-to-self-domain-swf)
I tried with checking broken URL as well but due to cross domain policy it's not giving me desired result for swfurl status