cinera_player_pre.js: Fix scoping of "this"
This commit is contained in:
parent
df93674bf7
commit
52d6d989f8
|
@ -1554,10 +1554,11 @@ Player.prototype.updateLink = function()
|
||||||
} break;
|
} break;
|
||||||
case vod_platform.VIMEO:
|
case vod_platform.VIMEO:
|
||||||
{
|
{
|
||||||
|
var Parent = this;
|
||||||
this.platformPlayer.getCurrentTime()
|
this.platformPlayer.getCurrentTime()
|
||||||
.then(function(Response)
|
.then(function(Response)
|
||||||
{
|
{
|
||||||
this.link.value = baseURL + "#" + Math.round(Response);
|
Parent.link.value = baseURL + "#" + Math.round(Response);
|
||||||
});
|
});
|
||||||
} break;
|
} break;
|
||||||
case vod_platform.YOUTUBE:
|
case vod_platform.YOUTUBE:
|
||||||
|
|
Loading…
Reference in New Issue