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;
|
||||
case vod_platform.VIMEO:
|
||||
{
|
||||
var Parent = this;
|
||||
this.platformPlayer.getCurrentTime()
|
||||
.then(function(Response)
|
||||
{
|
||||
this.link.value = baseURL + "#" + Math.round(Response);
|
||||
Parent.link.value = baseURL + "#" + Math.round(Response);
|
||||
});
|
||||
} break;
|
||||
case vod_platform.YOUTUBE:
|
||||
|
|
Loading…
Reference in New Issue