Table of content

Embed a video followed by a playlist


Keep your users engaged on your properties with your selected content: Simply embed a video, and specify the playlist ID of the playlist you want to play next. 

Examples with our different integration methods
Embed Script
Library Script
iFrame
<!-- Replace x16z72 with your own Player ID -->
<!-- Replace video ID in data-video with your own -->
<!-- Replace playlist ID in data-playlist with your own -->

<script src="https://geo.dailymotion.com/player/x16z72.js" data-video="x84sh87" data-playlist="x85ce2"></script>

<!-- Learn more about Player Embed Script: https://developers.dailymotion.com/guides/getting-started-with-web-sdk/#player-embed-script -->
<!-- Replace video ID in `video` with your own -->
<!-- Replace playlist ID in `playlist` with your own -->

dailymotion
  .createPlayer('my-dailymotion-player-2', {
    video: 'x84sh87',
    playlist: 'x85ce2',
    params: {
      loop: true,
      mute: true
    },
  })
  .then((player) => console.log(player))
  .catch((e) => console.error(e));

// Learn more about Player Library Script: https://developers.dailymotion.com/guides/getting-started-with-web-sdk/#player-library-script
<!-- Replace x16z72 with your own Player ID -->
<!-- Replace video ID in `video` with your own -->
<!-- Replace playlist ID in `playlist` with your own -->

<iframe frameborder="0" width="640" height="360" src="https://geo.dailymotion.com/player/x16z72.html?video=x84sh87&playlist=x85ce2" allowfullscreen allow="autoplay; web-share"></iframe>

<!-- Learn more about iFrame: https://developers.dailymotion.com/guides/getting-started-with-web-sdk/#player-iframe-embed -->