Mux EE Module Docs

for ExpressionEngine

:realtimetoken

Create a real time token for viewers to see how many are watching in real time (more here, this generates steps 1-3, start at step 4). This tag is intended to be used when using videos that are not being hosted by Mux Video, but you still need to track in Mux Data. For example, static mp4 files or stream files from another provider. Mux Video-hosted videos should use the realtime token tag.

{exp:realtimetoken video_id="1234"} // outputs a token.

video_id is a unique ID of numbers and/or letters with no spaces to represent the specific video in Mux Data. For example, this could be the ExpressionEngine entry ID only if there was only one video per entry.