I have a sermon podcast powered by WordPress located at http://www.summitnorthwest.org/sermonvideo/.
Clicking on "Play Video" runs a javascript that pops open a little window and loads a flash player to watch the video. This has worked fine for years... I just recently noticed that Chrome on Windows 7 does not display the flash player. It's not that it doesn't work properly or bugs out--it just doesn't even show up in the first place. Can someone else confirm this to be the case? And if so, how can I fix this?
Play Video link code:
Back-end Javascript code that creates popup window:
player.swf is a JW Player--probably a couple years old by this point.
Clicking on "Play Video" runs a javascript that pops open a little window and loads a flash player to watch the video. This has worked fine for years... I just recently noticed that Chrome on Windows 7 does not display the flash player. It's not that it doesn't work properly or bugs out--it just doesn't even show up in the first place. Can someone else confirm this to be the case? And if so, how can I fix this?
Play Video link code:
Code:
<a href="http://blip.tv/file/get/Summitnorthwest-LivingTheGospel375.flv" onclick="javascript:flvplayer(this.href,'1'); return false;" target="_blank">Play Video</a>
Back-end Javascript code that creates popup window:
Code:
// Pop-Up Embedder Script by David Battino, www.batmosphere.com
// Version 2006-05-31
// OK to use if this notice is included
function flvplayer(filepath,WindowNumber)
{
PlayerWin = window.open('',WindowNumber,'width=350,height=315,top=75,left=75,screenX=75,screenY=75,resizable=1,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0');
PlayerWin.focus();
PlayerWin.document.writeln("<html><head><title>Video Sermon Player</title></head>");
PlayerWin.document.writeln("<body bgcolor='#000000'>"); // specify background img if desired
PlayerWin.document.writeln("<div align='center' style='margin: 0;'>");
PlayerWin.document.writeln("<embed src='http://www.summitnorthwest.org/sermons/mediaplayer/player.swf' width='95%' height='80%' allowscriptaccess='always' allowfullscreen='true' flashvars='file=" + filepath + "&autostart=true&fullscreen=true&skin=http://www.summitnorthwest.org/sermons/mediaplayer/nacht_skin.swf' />");
PlayerWin.document.writeln("</div>");
PlayerWin.document.writeln("<form style='margin: 0;'><div align='center' style='margin: 5px 0 0 0;'><input type='button' value='Close this window' onclick='javascript:window.close();' style='margin-bottom: 5px'><br /><font color='#cccccc' size='1'>Not working? <a href='http://get.adobe.com/flashplayer/' target='_blank'><font color='#cccccc'>Get Adobe Flash Player</font></a></font></div></form>");
PlayerWin.document.writeln("</body></html>");
PlayerWin.document.close(); // "Finalizes" new window
}
player.swf is a JW Player--probably a couple years old by this point.