Blindly doing a find and replace is bad\!
This commit is contained in:
parent
25c328d993
commit
dce341e42b
|
|
@ -379,21 +379,21 @@ Player.prototype.initJustinTV = function() {
|
||||||
|
|
||||||
Player.prototype.initRTMP = function() {
|
Player.prototype.initRTMP = function() {
|
||||||
this.removeOld();
|
this.removeOld();
|
||||||
var url = "http://fpdownload.adobe.com/strobe/FlashPlayerPlayback_101.swf";
|
var url = "http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf";
|
||||||
var src = encodeURIComponent(this.id);
|
var src = encodeURIComponent(this.id);
|
||||||
var params = {
|
var params = {
|
||||||
allowFullScreen:"true",
|
allowFullScreen:"true",
|
||||||
allowScriptAccess:"always",
|
allowScriptAccess:"always",
|
||||||
allowNetworking:"all",
|
allowNetworking:"all",
|
||||||
wMode:"direct",
|
wMode:"direct",
|
||||||
movie:"http://fpdownload.adobe.com/strobe/FlashPlayerPlayback_101.swf",
|
movie:"http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf",
|
||||||
flashvars:"src="+src+"&streamType=live&autoPlay=true"
|
flashvars:"src="+src+"&streamType=live&autoPlay=true"
|
||||||
};
|
};
|
||||||
swfobject.embedSWF(url, "ytapiplayer", VWIDTH, VHEIGHT, "8", null, null, params, {} );
|
swfobject.embedSWF(url, "ytapiplayer", VWIDTH, VHEIGHT, "8", null, null, params, {} );
|
||||||
|
|
||||||
this.load = function(data) {
|
this.load = function(data) {
|
||||||
this.id = data.id;
|
this.id = data.id;
|
||||||
this.initTwitch();
|
this.initRTMP();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.pause = function() { }
|
this.pause = function() { }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue