Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
no words....
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaker Islam committed Mar 12, 2014
1 parent f0d1130 commit ff7c081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions videojs.vast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
});
Expand Down

0 comments on commit ff7c081

Please sign in to comment.