Mux EE Module Docs

for ExpressionEngine

Players Overview

There are 2 ways of building a player into your website templates.

A single iFrame-like tag with a few options (easy)

Using the included :player tag, with a few options, embeds a player into the page.  This is most like other copy and paste direct embeds and uses a compatible player under the hood.

Use a Player of Choice to build a custom implementation

Use one of many compatible players to build a unique experience.  Choosing this option provides the greatest flexibility and options.  Most players are fairly straightforward in setup, and the provided tags makes it as copy-and-paste as possible.  If the player supports HLS, it can be used.  Further in the guide you will find the boilerplate code to get up and running.

1. Simple Live Example with :player Tag

This example has the smallest amount of template code to get up and running with a video with a few options to customize.


    // Live
    {mux_live} // Your custom field name.
            mux_id="{mux_id}" // Required.
            dvr="yes"  // Optional for live.
            start="{entry_date format='{DATE_ISO8601}'}"  // Optional for live.
            end="{expiration_date format='{DATE_ISO8601}'}" // Optional for live.  
            image="{your_image_field}" // Optional.

   // VOD
    {mux_asset} // Your custom field name.
            mux_id="{mux_id}" // Required.
            image="{your_image_field}" // Optional.


    {mux_asset} // Your custom field name.  Asset or Live

        // Primary Video
        {exp:mux:player mux_id="{mux_id}" }

        // Live-only
            {exp:mux:player mux_id="{recording_mux_id}" }

        // Asset-only
            {exp:mux:player mux_id="{clips_mux_id}" }



Using URL Segment to pass IDs

// Getting Mux ID from URL.
// URL Example: /index.php/template_group/template/(mux_id)

    {exp:mux:player mux_id="{mux_id}" image="{thumbnail_image}"}