Post Reply 
Youtube flash detection
Apr. 01, 2009, 11:46 AM (This post was last modified: Apr. 01, 2009 11:54 AM by sidki3003.)
Post: #2
RE: Youtube flash detection
"canPlayV9Swf" is defined in base_all_with_bidi-vfl87002.js, but it's scrambled. The browser knows the pretty-print version:

Code:
canPlayV9Swf = function () {
    var a = j.deconcept, b = a.SWFObjectUtil.getPlayerVersion();
    if (b.major < 9) {
        return g;
    }
    if (navigator.userAgent[v]("Sony/COM2") > -1) {
        var c = new (a.PlayerVersion)([9, 1, 58]);
        if (!b.versionIsValid(c)) {
            return g;
        }
    }
    return i;
};


I didn't see the assignments for "i" and "g", but former is "success" and latter "fail". "Success" if Flash is installed *and* v9 or better.
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: