/** * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ * * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for * legal reasons. */ if(typeof deconcept=="undefined"){var deconcept=new Object();} if(typeof deconcept.util=="undefined"){deconcept.util=new Object();} if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();} deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;} this.DETECT_KEY=_b?_b:"detectflash"; this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY); this.params=new Object(); this.variables=new Object(); this.attributes=new Array(); if(_1){this.setAttribute("swf",_1);} if(id){this.setAttribute("id",id);} if(w){this.setAttribute("width",w);} if(h){this.setAttribute("height",h);} if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));} this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(); if(c){this.addParam("bgcolor",c);} var q=_8?_8:"high"; this.addParam("quality",q); this.setAttribute("useExpressInstall",_7); this.setAttribute("doExpressInstall",false); var _d=(_9)?_9:window.location; this.setAttribute("xiRedirectUrl",_d); this.setAttribute("redirectUrl",""); if(_a){this.setAttribute("redirectUrl",_a);}}; deconcept.SWFObject.prototype={setAttribute:function(_e,_f){ this.attributes[_e]=_f; },getAttribute:function(_10){ return this.attributes[_10]; },addParam:function(_11,_12){ this.params[_11]=_12; },getParams:function(){ return this.params; },addVariable:function(_13,_14){ this.variables[_13]=_14; },getVariable:function(_15){ return this.variables[_15]; },getVariables:function(){ return this.variables; },getVariablePairs:function(){ var _16=new Array(); var key; var _18=this.getVariables(); for(key in _18){_16.push(key+"="+_18[key]);} return _16;},getSWFHTML:function(){var _19=""; if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ if(this.getAttribute("doExpressInstall")){ this.addVariable("MMplayerType","PlugIn");} _19="0){_19+="flashvars=\""+_1c+"\"";}_19+="/>"; }else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");} _19=""; _19+=""; var _1d=this.getParams(); for(var key in _1d){_19+="";} var _1f=this.getVariablePairs().join("&"); if(_1f.length>0){_19+="";}_19+="";} return _19; },write:function(_20){ if(this.getAttribute("useExpressInstall")){ var _21=new deconcept.PlayerVersion([6,0,65]); if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){ this.setAttribute("doExpressInstall",true); this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"))); document.title=document.title.slice(0,47)+" - Flash Player Installation"; this.addVariable("MMdoctitle",document.title);}} if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){ var n=(typeof _20=="string")?document.getElementById(_20):_20; n.innerHTML=this.getSWFHTML();return true; }else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}} return false;}}; deconcept.SWFObjectUtil.getPlayerVersion=function(){ var _23=new deconcept.PlayerVersion([0,0,0]); if(navigator.plugins&&navigator.mimeTypes.length){ var x=navigator.plugins["Shockwave Flash"]; if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));} }else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");} catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); _23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";} catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");} catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}} return _23;}; deconcept.PlayerVersion=function(_27){ this.major=_27[0]!=null?parseInt(_27[0]):0; this.minor=_27[1]!=null?parseInt(_27[1]):0; this.rev=_27[2]!=null?parseInt(_27[2]):0; }; deconcept.PlayerVersion.prototype.versionIsValid=function(fv){ if(this.majorfv.major){return true;} if(this.minorfv.minor){return true;} if(this.revInscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed! President Natasha Keshwani describes how excited she was to receive an Inscribed Rose as a gift, and how she eventually felt compelled to bring the roses to Omaha as a business venture.","view_count":"25","upload_time":"1265157901000","made_public_time":"1265158261000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/63\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_ed07eb86.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/63\/"},{"author":"omaha","id":"3355e6b1","title":"Natasha talks about her favorite Inscribed Rose","length_seconds":"138","width":"640","height":"360","description":"Inscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed. President Natasha Keshwani talks about the most memorable roses she's created and other way she's connected to her Omaha community, like volunteering at the Hindu Temple of Omaha.","view_count":"15","upload_time":"1265158782000","made_public_time":"1265159040000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/64\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_3355e6b1.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/64\/"},{"author":"omaha","id":"49f3964b","title":"Harish describes his businesses, Inscribed Roses and Ideologic LLC","length_seconds":"124","width":"640","height":"360","description":"Inscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed. Harish talks about helping his wife promote this business in addition to running his Wordpress web design company, <a href= \"http:\/\/www.ideologicllc.com\/\">Ideologic, L.L.C.<\/a>","view_count":"13","upload_time":"1265176100000","made_public_time":"1265176321000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/65\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_49f3964b.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/65\/"},{"author":"omaha","id":"b22f51ae","title":"Harish talks about Social Media and Entrepreneurship in Omaha","length_seconds":"188","width":"640","height":"360","description":"Inscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed. Harish talks about using Social Media to promote Inscribed Roses and his preference for internet media over print media.","view_count":"13","upload_time":"1265189219000","made_public_time":"1265189520000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/67\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_b22f51ae.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/67\/"},{"author":"omaha","id":"a3d04d8f","title":"Harish + Natasha talk likes\/dislikes about Omaha","length_seconds":"124","width":"640","height":"360","description":"Inscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed. Harish + Natasha talk about their likes (ease of travel) and dislikes (snow, snow, snow!), and the community of people from India living in Omaha.","view_count":"10","upload_time":"1265190891000","made_public_time":"1265191141000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/68\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_a3d04d8f.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/68\/"},{"author":"omaha","id":"9125c2e0","title":"Harish + Natasha talk about their favorite places in Omaha","length_seconds":"185","width":"640","height":"360","description":"Inscribed Roses<\/a> writes custom messages, pictures, and logos on real, fresh cut roses. A beautiful gift that must be seen to be believed. Harish + Natasha talk about their favorite things in Omaha (the Millard West and Walt Disney Elementary schools, Village Pointe), and their future plans to open up a store for Inscribed Roses.","view_count":"14","upload_time":"1265195498000","made_public_time":"1265195760000","comment_count":"0","url":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/70\/","thumbnail_url":"http:\/\/cdn-thumbs.viddler.com\/thumbnail_2_9125c2e0.jpg","permalink":"http:\/\/www.viddler.com\/explore\/omaha\/videos\/70\/"}]}}; var videos = video_json.video_list.video; var show_titles = true; var show_description = false; var hide_thumbs = false; var show_player = true; var player_type = "simple"; var height = 358; var width = 600; var autoplay = "f"; var videos_per_row = 4; var widget_width = 600; var thumbnail_size = 25; var skinvars = false; var code = ''; function viddlerLink(i, inner) { if(show_player) { return '' + inner + ''; } else { return '' + inner + ''; } } function html_entity_decode(str) { var ta=document.createElement("textarea"); ta.innerHTML=str.replace(//g,">"); return ta.value; } if(show_player) { var flashvars = 'autoplay=' + autoplay; if(skinvars) flashvars += "&" + skinvars; var so = new SWFObject("http://viddler.com/" + player_type + "/" + videos[0].id, "vidget_flash_" + widget_id, width, height, "8"); so.addParam("flashVars", "autoplay=" + autoplay + "&key=" + videos[0].id); so.addParam("allowFullScreen", "true"); so.addParam("allowScriptAccess", "always"); so.addParam("wmode", "transparent"); so.write(video_player); video_player.innerHTML += "

"; } var count = 1; for(i=0;i'; } if(show_titles) { title += viddlerLink(i, videos[i].title); } code += viddlerLink(i, title); if(show_description && videos[i].description) { code += "
" + html_entity_decode(videos[i].description); } code += ''; code +=''; if(count < videos_per_row) { count++; } else { count = 1; } } video_list.innerHTML = code;