MCPcopy Index your code
hub / github.com/ampproject/amphtml / delegateAutoplay

Function delegateAutoplay

src/video-interface.js:576–580  ·  view source on GitHub ↗
(video)

Source from the content-addressed store, hash-verified

574
575/** @param {!AmpElement|!VideoOrBaseElementDef} video */
576export function delegateAutoplay(video) {
577 whenUpgradedToCustomElement(devAssertElement(video)).then((el) => {
578 el.signals().signal(VideoServiceSignals_Enum.PLAYBACK_DELEGATED);
579 });
580}
581
582/** @param {!AmpElement|!VideoOrBaseElementDef} video */
583export function userInteractedWith(video) {

Callers

nothing calls this directly

Calls 5

devAssertElementFunction · 0.90
thenMethod · 0.45
signalMethod · 0.45
signalsMethod · 0.45

Tested by

no test coverage detected