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

Function setVideoPlayerForTesting

ads/google/ima/ima-video.js:1623–1625  ·  view source on GitHub ↗
(newPlayer)

Source from the content-addressed store, hash-verified

1621 * @visibleForTesting
1622 */
1623export function setVideoPlayerForTesting(newPlayer) {
1624 elements['video'] = newPlayer;
1625}
1626
1627/**
1628 * Sets the player state.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected