Creating and sharing playlists are a great way to engage your users and keep them watching.
With our player, you have 2 different ways to export your playlist. You can either share an entire playlist, or set up a playlist as a video queue
Export an entire playlist
With this method, you'll be able to share an entire playlist on your website or your application.
All you need is to find the playlist ID, and export it on an iframe or through one of our SDK. You can generate an iframe easily from your Partner Space
- Go to the Playlist tab, within the Media section
- Click on the menu available on the right of each playlist
- Select the option Share
- Click on Embed
When you'll include this iframe on your website, a player will be generated with all the videos from the playlist.
Embed a playlist using an iframe
<iframe frameborder="0" width="480" height="270" src="https://www.dailymotion.com/embed/playlist/PLAYLIST_ID allow afullscreen allow="autoplay"></iframe>
Embed a playlist using our CPE technology
<div class="dailymotion-cpe" playlist-id="PLAYLIST_ID"></div>
Embed a playlist using our JavaScript SDK
<script src="https://api.dmcdn.net/all.js"></script>
<div id="videoPlayer"></div>
<script>
var player = DM.player("videoPlayer", {
playlist: "ID_DE_PlAYLIST",
width: "600",
height: "400",
});
</script>