Ideas for Arc XP

Load playlists with UUID

We would like to load playlist videos on the frontend with the playlist UUID and powaBoot, since the UUID is a constant value. Currently, it seems that playlists must be referenced by name to load, and the name can be changed after the playlist is created.

  • Matt Nelsen
  • Jun 13 2023
  • Shipped
  • Attach files
  • Admin
    Jenae Cerovac commented
    20 Oct 13:25

    To create a video playlist by UUID in Arc XP, you can use the data-playthrough parameter and set it to true. This enables autoplay functionality for a list of videos. If your Video Center instance is configured to provide recommended videos, the player will continue to play recommended videos after the specified video (identified by its data-uuid) has completed.

    Here’s how you can set it up:

    • Set up a playlist: Use the following URL format to create a playlist:

      https://org-sandbox.video-api.arcpublishing.com/api/v1/ansvideos/recommended/playlist/<PlaylistName>

      Replace <PlaylistName> with the desired name of your playlist.

    • Embed the player: Use the data-playthrough parameter in the player embed code. For example:

      http://host.cloudfront.net/alex/powaEmbed.html?org=xyz&uuid=bbfc625d-5e83-4743-8ee7&api=sandbox&playthrough=true&powa-apiroot=https://org-sandbox.video-api.arcpublishing.com/api/v1/

      Replace uuid with the UUID of the video you want to start with, and ensure playthrough=true is included to enable autoplay for the playlist.

    For more details, you can refer to the Video Center Player - Settings documentation.