diff --git a/docs/index.html b/docs/index.html index e5c9236b6..c97c293c1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -76,6 +76,7 @@
+
+
+ <video
+ id="player-multiple-sources"
+ controls
+ autoplay
+ class="cld-video-player"
+ width="500">
+ </video>
+
+
+
+
+
+
+ cloudinary.videoPlayer('player-multiple-sources', {
+ cloudName: 'demo',
+ videoSources: [
+ {
+ publicId: 'snow_horses'
+ },
+ {
+ publicId: 'dirt_bike',
+ textTracks: {
+ captions: {
+ label: 'Original',
+ default: true,
+ },
+ subtitles: [
+ {
+ label: 'English',
+ language: 'en-US',
+ },
+ {
+ label: 'Polish',
+ language: 'pl-PL',
+ },
+ ]
+ },
+ },
+ {
+ publicId: 'marmots',
+ label: 'Custom video name',
+ download: true,
+ },
+ ],
+ });
+
+
+