/* * flowplayer.js 3.2.6. the flowplayer api * * copyright 2009-2011 flowplayer oy * * this file is part of flowplayer. * * flowplayer is free software: you can redistribute it and/or modify * it under the terms of the gnu general public license as published by * the free software foundation, either version 3 of the license, or * (at your option) any later version. * * flowplayer is distributed in the hope that it will be useful, * but without any warranty; without even the implied warranty of * merchantability or fitness for a particular purpose. see the * gnu general public license for more details. * * you should have received a copy of the gnu general public license * along with flowplayer. if not, see . * * date: 2011-02-04 05:45:28 -0500 (fri, 04 feb 2011) * revision: 614 */ (function(){function g(o){console.log("$f.fireevent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasownproperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressinstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:false},t);if(typeof o=="string"){if(o.indexof(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireevent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireevent(o.slice(1)):null},addplugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jquery=="function"){jquery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var e=typeof jquery=="function";var i={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onfail:null,expressinstall:null,w3c:false,cachebusting:false};if(e){jquery.tools=jquery.tools||{};jquery.tools.flashembed={version:"1.0.4",conf:i}}function j(){if(c.done){return false}var l=document;if(l&&l.getelementsbytagname&&l.getelementbyid&&l.body){clearinterval(c.timer);c.timer=null;for(var k=0;k'}q.width=q.height=q.id=q.w3c=q.src=null;for(var l in q){if(q[l]!==null){n+=''}}var o="";if(t){for(var m in t){if(t[m]!==null){o+=m+"="+(typeof t[m]=="object"?g(t[m]):t[m])+"&"}}o=o.substring(0,o.length-1);n+='"}n+="";return n}function d(m,p,l){var k=flashembed.getversion();f(this,{getcontainer:function(){return m},getconf:function(){return p},getversion:function(){return k},getflashvars:function(){return l},getapi:function(){return m.firstchild},gethtml:function(){return a(p,l)}});var q=p.version;var r=p.expressinstall;var o=!q||flashembed.issupported(q);if(o){p.onfail=p.version=p.expressinstall=null;m.innerhtml=a(p,l)}else{if(q&&r&&flashembed.issupported([6,65])){f(p,{src:r});l={mmredirecturl:location.href,mmplayertype:"plugin",mmdoctitle:document.title};m.innerhtml=a(p,l)}else{if(m.innerhtml.replace(/\s/g,"")!==""){}else{m.innerhtml="

flash version "+q+" or greater is required

"+(k[0]>0?"your version is "+k:"you have no flash plugin installed")+"

"+(m.tagname=="a"?"

click here to download latest version

":"

download latest version from here

");if(m.tagname=="a"){m.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!o&&p.onfail){var n=p.onfail.call(this);if(typeof n=="string"){m.innerhtml=n}}if(document.all){window[p.id]=document.getelementbyid(p.id)}}window.flashembed=function(l,m,k){if(typeof l=="string"){var n=document.getelementbyid(l);if(n){l=n}else{c(function(){flashembed(l,m,k)});return}}if(!l){return}if(typeof m=="string"){m={src:m}}var o=f({},i);f(o,m);return new d(l,o,k)};f(window.flashembed,{getversion:function(){var m=[0,0];if(navigator.plugins&&typeof navigator.plugins["shockwave flash"]=="object"){var l=navigator.plugins["shockwave flash"].description;if(typeof l!="undefined"){l=l.replace(/^.*\s+(\s+\s+\s+$)/,"$1");var n=parseint(l.replace(/^(.*)\..*$/,"$1"),10);var r=/r/.test(l)?parseint(l.replace(/^.*r(.*)$/,"$1"),10):0;m=[n,r]}}else{if(window.activexobject){try{var p=new activexobject("shockwaveflash.shockwaveflash.7")}catch(q){try{p=new activexobject("shockwaveflash.shockwaveflash.6");m=[6,0];p.allowscriptaccess="always"}catch(k){if(m[0]==6){return m}}try{p=new activexobject("shockwaveflash.shockwaveflash")}catch(o){}}if(typeof p=="object"){l=p.getvariable("$version");if(typeof l!="undefined"){l=l.replace(/^\s+\s+(.*)$/,"$1").split(",");m=[parseint(l[0],10),parseint(l[2],10)]}}}}return m},issupported:function(k){var m=flashembed.getversion();var l=(m[0]>k[0])||(m[0]==k[0]&&m[1]>=k[1]);return l},domready:c,asstring:g,gethtml:a});if(e){jquery.fn.flashembed=function(l,k){var m=null;this.each(function(){m=flashembed(this,l,k)});return l.api===false?this:m}}})();