Post Reply 
Youtube flash detection
Apr. 01, 2009, 09:55 AM
Post: #1
Youtube flash detection
Youtube is doing some sort of flash detection using canPlayV9Swf() but I can't find for the life of me where that method is defined. Any one know what this method does. After doing its checks it seems to do the the fallback message if it can't detect Flash or you have javascript turned off;

<div id="watch-player-div" class="flash-player">

<div id="watch-noplayer-div">
<noscript>Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. <a href="http://www.adobe.com/go/getflashplayer/" onmousedown="urchinTracker('/Events/VideoWatch/GetFlash');">Get the latest Flash player</a>.</noscript>
<script type="text/javascript">
document.write('Hello, you either have JavaScript turned off or an old version of Adobe\'s Flash Player. <a href=\"http://www.adobe.com/go/getflashplayer/\" onmousedown=\"urchinTracker(\'/Events/VideoWatch/GetFlash\');\">Get the latest Flash player</a>.');
</script>
</div>
</div> <script type="text/javascript">
var fo = writeMoviePlayer("watch-player-div");
</script>

Help Appreciated. Thanks.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Youtube flash detection - shezam - Apr. 01, 2009 09:55 AM
RE: Youtube flash detection - sidki3003 - Apr. 01, 2009, 11:46 AM
RE: Youtube flash detection - Oddysey - Apr. 03, 2009, 08:40 AM
RE: Youtube flash detection - lnminente - Apr. 03, 2009, 10:01 AM
RE: Youtube flash detection - bugger - Jun. 06, 2009, 12:00 AM
RE: Youtube flash detection - Toppy - Jun. 06, 2009, 05:52 AM
RE: Youtube flash detection - Siamesecat - Jun. 06, 2009, 06:01 AM

Forum Jump: