Playlist Mode


Code Sample

echo Videowall::widget([
        'wallType' => Videowall::TYPE_PLAYLIST,
        'videoTagOptions' => [
            'width' => "800",
            'height' => "600",
        ],
        'playlists' => [
            [
                'name' => 'PLAYLIST TITLE',
                'cover' => '/PATH/TO/PLAYLIST/COVER.jpg',
                'videos' => [
                    [
                        'src' => '/PATH/TO/VIDEO.mp4',
                        'poster' => '/PATH/TO/POSTER.png',
                        'mime' => 'video/mp4',
                        'title' => 'SONG TITLE',
                    ],
                    [
                        'src' => '/PATH/TO/VIDEO.mp4',
                        'poster' => '/PATH/TO/POSTER.png',
                        'mime' => 'video/mp4',
                        'title' => 'Circus Juggler Video',
                    ],
                    [
                        'src' => '/PATH/TO/VIDEO.mp4',
                        'poster' => '/PATH/TO/POSTER.png',
                        'mime' => 'video/mp4',
                        'title' => 'Deep Space Star Acts',
                    ],
                    [
                        'src' => '/PATH/TO/VIDEO.mp4',
                        'poster' => '/PATH/TO/POSTER.png',
                        'mime' => 'video/mp4',
                        'title' => 'Dolby Digital Intro',
                    ],
                    [
                        'src' => '/PATH/TO/VIDEO.mp4',
                        'poster' => '/PATH/TO/POSTER.png',
                        'mime' => 'video/mp4',
                        'title' => 'Toy Helicopter Demo',
                    ],
                ],
            ],
    ]
]);