Skip to content

Commit

Permalink
[bugfix/PLAYER-5272] short form for object
Browse files Browse the repository at this point in the history
  • Loading branch information
KseniiaSokolovaEpam committed Mar 6, 2019
1 parent ceaad59 commit e2ad86a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions js/google_ima.js
Original file line number Diff line number Diff line change
Expand Up @@ -2909,14 +2909,7 @@ require("../html5-common/js/utils/utils.js");
*/
const raisePlayhead = _.bind((eventname, currentTime, duration, buffer=1) => {
const seekRange = { begin: 0, end: 0 };
notifyIfInControl(
eventname,
{ "currentTime" : currentTime,
"duration" : duration,
"buffer" : buffer,
"seekRange" : seekRange
}
);
notifyIfInControl(eventname, { currentTime, duration, buffer, seekRange });
}, this);
};

Expand Down

0 comments on commit e2ad86a

Please sign in to comment.