In-video Call to Action

Dailymotion custom embed supports the addition of CTA links in any video. Check our Demo

Start Embedding

To embed players with in-video CTA cards

Data for in-video CTA card can be set inside <script type="application/json"> as JSON format.

Here is an example.

<script type="application/json" id="dm_player_text">
    {
        "cta_card": {
            "video_start": {
                "text": "check this article too.",
                "link": "https://www.example.com/article1"
            },
        }
    }
</script>
<div class="dm-player" playerId="{PLAYER_ID}" sort="recent" owners="{YOUR_CHANNEL_NAME}" ctaCard="true"></div>

Data Format:

Details of the JSON format data to provide information about in-video CTA card for Custom embed player :

We provide three positions of video progress to the CTA card. i.e., video_start, video_end, video_middle (with optional timestamp parameter). For each position, a CTA card can be added with text and link mandatory parameters. Here is the in-video CTA card activation information :

There are two types of formats for data to set.

1) Player level: Data will be the same for each video in the player.

<script type="application/json" id="dm_player_text">
    {
        "cta_card": {
            "video_start": {
                "text": "check this article too.",
                "link": "https://www.example.com/article1"
            },
            "video_middle": {
                "timestamp": 47, 
                "text": "Another interesting articles about the same topic",
                "link": "https://www.example.com/article1"
            },
            "video_end": {
                "text": "check here new topics.",
                "link": "https://www.example.com/article1"
            }
        }
    }
</script>

2) Video level: Data can be set for each video.

<script type="application/json" id="dm_player_text">
    {
        "cta_card": [
            {
                "video_id": "x123ab",
                "video_start": {
                    "text": "check this article too.",
                    "link": "https://www.example.com/article1"
                },
                "video_middle": {
                    "timestamp": 47,
                    "text": "Another interesting articles about the same topic",
                    "link": "https://www.example.com/article1"
                },
                "video_end": {
                    "text": "check here new topics.",
                    "link": "https://www.example.com/article1"
                }
            },
            {......}
        ]
    }
</script>

CTA Card features:

Example: