From ff7c0818fca252a5137196ff6e3206d789ac1703 Mon Sep 17 00:00:00 2001 From: Shaker Islam Date: Wed, 12 Mar 2014 17:21:18 -0500 Subject: [PATCH] no words.... --- videojs.vast.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/videojs.vast.js b/videojs.vast.js index 42f8077..ad64c37 100644 --- a/videojs.vast.js +++ b/videojs.vast.js @@ -55,8 +55,8 @@ player.vastTracker = new vast.tracker(ad, linearCreative); player.on('canplay', function() {this.vastTracker.load();}); player.on('timeupdate', function() { - if (isNaN(linearCreative.duration)) { - linearCreative.duration = this.duration(); + if (isNaN(this.vastTracker.assetDuration)) { + this.vastTracker.assetDuration = this.duration(); } this.vastTracker.setProgress(this.currentTime()); });