Videos

Property

Required

Type

Description

sources

Required

String [ ]

Array of videos to be included in contents playlist. See sources section.

isExternalVideosOnly

Optional

Boolean

Whether to include external videos only or to include EX.CO playlist as well.

cta

Optional

Object

Adds a CTA (Call to Action) button on all videos. See CTA section.

Sources

Property

Required

Type

Description

source

Required

String

Video url format to take the source from.

fallbackSource

Optional

String

Video url format to take the source from in case the source not working

id

Optional

String

Guid format

title

Optional

String

Title of the video

poster

Optional

String

URL for the poster image

keywords

Optional

String [ ]

Video related keywords



Examples

<div id="PLAYER_ID" data-exs-config='{
  "videos": {
    "sources": [{
      "id":"f6f3f866-a0a5-33e3-88ab-22ac7f092ac0",
      "source":"//video-source.mp4",
      "fallbackSource":"//fallback-source.mp4",
      "title":"video-title",
      "poster":"//poster.jpg"
    }],
    "isExternalVideosOnly":false
  }
}'></div>
<div id="PLAYER_ID" data-exs-config='{
  "videos": {
    "sources": [{
      "source":"//video-source.mp4",
    },
    {
      "source":"//video-source2.mp4",
    }],
    "isExternalVideosOnly":true
  }
}'></div>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article