MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

ads/google/ima/ima-player-data.js:5–14  ·  view source on GitHub ↗

* Create a new ImaPlayerData object.

()

Source from the content-addressed store, hash-verified

3 * Create a new ImaPlayerData object.
4 */
5 constructor() {
6 /* {!Number} */
7 this.currentTime = 0;
8
9 /* {!Number} */
10 this.duration = 1;
11
12 /* {!Array} */
13 this.playedRanges = [];
14 }
15
16 /**
17 * Update from the provided video player.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected