hi all,
i'm beginner in widget development, i have function for video playback, wich play video from {"video":{"URL":"http://mydomain/video1.mp4"}}
CODE
playVideo: function() {
this.speedOK = true;
this.videoPlayer.changePlaylist([
{urls:[{url:this.persist.video.URL,bitrate: this.BITRATE }]}
]);
this.videoPlayer.startPlaylist();
},
i want play playlist with more file {"video":[{"URL": "http://mydomain/vide2.mp4"},{"URL": "http://mydomain/video2.mp4"}]}, where each url is in
his.persist[0 ].video.URL and his.persist[1].video.URL but i don't know how change function to play all url in playlist. Can you help me? thanks