Skip to content

discourse/discourse-media-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discourse-media-events

  • This component adds event tracking for <video> and <audio> tags in posts via api.decorateCookedElement.
  • The events tracked are:
  • The events are captured and broadcast using appEvents and the prefix discourse-media: e.g. discourse-media:video:play or discourse-media:audio:pause.
  • The post and topic ID that the media is playing in is captured, as well as the media source, the filename and the current time of the source.

About

A theme component to enable tracking of media (video and audio) player events

Topics

Resources

License

Stars

Watchers

Forks

Contributors 17