The playlist template is an internal Media Manager template that allows you to embed a video player with a list of videos below it. The videos below the currently playing video are based on either a Media Manager Playlist or the latest videos uploaded to your account.
Embedding the template¶
The template can be embedded using the smart embed. You have to specify the initial video that is loaded and if you want a playlist id.
By default content is ordered by the created date in descending order. You can change the order of the playlist by using the meta option on the smart embed.
mediamanager.meta.orderBy = "publish_date";
In the case above we can order it by publish date instead of created date. We can then change the order direction.
mediamanager.meta.orderDir = "asc"; //Change order direction to ascending