var protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
$ezs3 = function (c, d) {
for (var b = c.length, e = b, f = function () {
if (!(this.readyState
&& this.readyState !== "complete"
&& this.readyState !== "loaded")) {
this.onload = this.onreadystatechange = null;
--e || d()
}
}, g = document.getElementsByTagName("head")[0], i = function (h) {
var a = document.createElement("script");
a.async = true;
a.src = h;
a.onload = a.onreadystatechange = f;
g.appendChild(a)
}; b;) i(c[--b]);
};
function writeplayer290208(thisfile,streaming) {
if (typeof jwplayer=="undefined"){
$ezs3([protocol+"ezs3.s3.amazonaws.com/player/58/jwplayer.js"], function () {
runplayer290208(thisfile,streaming);
});
} else {
runplayer290208(thisfile,streaming);
}
}
document.write('
');if(typeof affid == "undefined") {
var affid = "";
}
buffering290208 = 0;
function runplayer290208(thisfile,streaming) {
try {
if (streaming) {
thisprovider = 'rtmp';
} else {
thisprovider = 'video';
}
if (!navigator.userAgent.match(/iPhone/i) && !navigator.userAgent.match(/iPod/i) && !navigator.userAgent.match(/iPad/i)) {
thisautostart = false;
} else {
thisautostart = false;
}
jwplayer("p290208").setup(
{
aboutlink: "http://www.ezs3.com/about",
backcolor: "000000",
mute: "false",
frontcolor: "ffffff",
screencolor: "000000",
stretching: "none",
icons: "true",
lightcolor: "000099",
repeat: "none",
controlbar: "over",
file: thisfile,
provider: thisprovider,
autostart: thisautostart,
dock: "false",
abouttext: "eZs3",
width: "400",
height: "300",
components: {
},
plugins: {
},
events: {
},
modes:
[
{ type: "flash", src: protocol + "ezs3.s3.amazonaws.com/player/58/player.swf?t=" + parseInt(Math.random()*99999999) },
{ type: "html5" }
]
}
);
} catch(e) {
var ooopsmsg = 'Ooops .... !
Something went wrong trying to load this player.
Please refresh your browser/reload the page
..that should fix it
';
if (!navigator.userAgent.match(/iPhone/i) && !navigator.userAgent.match(/iPod/i) && !navigator.userAgent.match(/iPad/i)) {
ooopsmsg = ooopsmsg + 'If not, please check you have the latest version of Flash Player installed.';
}
document.getElementById('p290208').style.background = '#000000';
document.getElementById('p290208').style.color = '#ffffff';
document.getElementById('p290208').innerHTML = ooopsmsg;
}
}
writeplayer290208("https://motivationalvideos.s3.amazonaws.com/motivationalmoviequotes.f4v");document.write('');