//Reference: //http://feather.elektrum.org/book/src.html //adding a namespace 'muchmtv' to avoid conflicts on pages var muchmusic_embed; if (muchmusic_embed == undefined) { muchmusic_embed = { counter:0, getNextCount: function () { this.counter++; return this.counter; }, parseEmbed : function () { var scripts = document.getElementsByTagName('script'); var myScript = scripts[ scripts.length - 1 ]; var queryString = myScript.src.replace(/^[^?]+??/,''); var params = this.parseQuery( queryString ); var d=new Date(); var count = this.getNextCount(); var divId = 'muchmusic_vid'+count; var site = "http://www.muchmusic.com"; var src = ""; var ws =""; var embedWidth = 416; var embedHeight = 332; var skin=""; if (params['ws'] == 1) { ws = "&ws=1"; embedWidth = 512; embedHeight = 332; } if (params['autoplay'] == 1) { src = site+'/flashmodules/embedplayer/muchembed.html?vid='+params['vid']+'&autoplay=1'+ws; } else { src = site+'/flashmodules/embedplayer/muchembed.html?vid='+params['vid']+ws; } document.write('
'); this.embedPlayer(divId,src,embedWidth ,embedHeight ); }, parseQuery : function( query ) { var Params = new Object (); if ( ! query ) return Params; // return empty object var Pairs = query.split(/[;&]/); for ( var i = 0; i < Pairs.length; i++ ) { var KeyVal = Pairs[i].split('='); if ( ! KeyVal || KeyVal.length != 2 ) continue; var key = unescape( KeyVal[0] ); var val = unescape( KeyVal[1] ); val = val.replace(/+/g, ' '); Params[key] = val; } return Params; }, embedPlayer : function (divId, src, w, h) { var div = document.getElementById(divId); var tag=''; tag+=''; div.innerHTML = tag; } } //end } muchmusic_embed.parseEmbed();
All he cares about is money and the city that he’s from. Hometown love courtesy of Drake and RapCity’s T-Rexxx.
YOLO