Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ postEvent
Method
postEvent
src/video-iframe-integration.js:340–342 ·
view source on GitHub ↗
* Posts a playback event. * @param {string} event
(event)
Source
from the content-addressed store, hash-verified
338
* @param {string} event
339
*/
340
postEvent(event) {
341
this.postToParent_({
'event'
: event});
342
}
343
344
/**
345
* Posts a custom analytics event.
Callers
4
listenToJwPlayer_
Method · 0.95
listenToVideoJs_
Method · 0.95
onVolumeChange_
Method · 0.95
test-video-iframe-integration.js
File · 0.80
Calls
1
postToParent_
Method · 0.95
Tested by
no test coverage detected