var player = new Clappr.Player({ source: 'https://demo-live.streamroot.io/index.m3u8', poster: '', autoPlay: true, height: 360, width: 640, youtubeShowRelated: true, plugins: { playback: [YoutubePlayback] } }); player.attachTo(playerElement);