Multi Channel Livestreams
Configuration
<div id="player"></div>
<script>
const player = new js3q({
container: 'player',
dataid: '...',
// additional configurations
multichannelstream: {
items: [
{
dataid: '...',
default: true,
description: 'Lorem Ipsum',
language: 'de',
position: 1,
poster: 'https://unsplash.it/400/400',
title: 'Lorem Ipsum',
},
{
dataid: '...',
default: false,
description: 'Lorem Ipsum',
language: 'en',
position: 2,
poster: 'https://unsplash.it/400/400',
title: 'Lorem Ipsum',
},
],
},
})
</script>
The Multi-Channel Livestream Module is based on the Playlist plugin. Therefore the same Methods can be used:
Player Methods
Name
Parameters
Description
getPlaylistItems
Returns an array of all available items in the playlist
playlistItem
index: number
Sets the active medium to the given index
next
Plays the next item in the playlist
previous
Plays the previous item in the playlist
Last updated