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

Method getDuration

src/video-interface.js:72–72  ·  view source on GitHub ↗

* Total duration of the video in seconds * * This is used for analytics metadata. * * @return {number}

()

Source from the content-addressed store, hash-verified

70 * @return {number}
71 */
72 getDuration() {}
73
74 /**
75 * Get a 2d array of start and stop times that the user has watched.

Callers 4

getAnalyticsDetailsMethod · 0.45
hasDuration_Method · 0.45
calculate_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected