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

Method pause

src/friendly-iframe-embed.js:481–485  ·  view source on GitHub ↗

* Pause the embed.

()

Source from the content-addressed store, hash-verified

479 * Pause the embed.
480 */
481 pause() {
482 if (this.ampdoc) {
483 this.ampdoc.overrideVisibilityState(VisibilityState_Enum.PAUSED);
484 }
485 }
486
487 /**
488 * Resume the embed.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected