Start a new topic
Answered

VideoJS integration

Hi,

We are in the process of evaluating Viblast Player for our site with a view to switching over to it shortly. We have integrated Viblast with VideoJS as per http://viblast.com/player/docs/videojs-integration. This works well until we attempt to load playlists dynamically like so:

```
video.src({ type: 'application/x-mpegURL', src: '//cdn3.viblast.com/streams/hls/airshow/playlist.m3u8' })
```

This returns the error in the console of:

```
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The video could not be loaded, either because the server or network failed or because the format is not supported.
```
Can you advise?

Thanks

Theo

Best Answer
Hello

Here is a full working Viblast player compliant with HTML5 Web browsers and the  Flash Video.JS as fallback player :
>> http://videoplayer.vodobox.com/viblast_player.php?url=http://sample.vodobox.net/we_are_blood_4k/we_are_blood_4k.m3u8

All you need to do is view the HTML source code and copy/paste. Then replace your stream URL and JS libs paths.

We used Video.JS version 4.12.15 and Viblast 6.07. HTML5 playback is better than Flash Player playback. But HTML5 playback isn't yet available with all video browsers. 

Hello,


I'm not able to reproduce this issue. Can you provide us with a sample page and video stream(s)?


Best regards,

Nikolay

Hi Nikolay,


We've looked into this further and have discovered that if we use the copy of Viblast that is on your demo page, then the issue goes away. It looks like our version of the Viblast player is out of date. Do you have a link we could use to always get the latest version of Viblast?


Thanks


Theo

Hi Theo,


You can use the link from the email you received from us. It contains the latest version. You can check your Viblast version by calling Viblast.version().


Best regards,

Nikolay

Answer
Hello

Here is a full working Viblast player compliant with HTML5 Web browsers and the  Flash Video.JS as fallback player :
>> http://videoplayer.vodobox.com/viblast_player.php?url=http://sample.vodobox.net/we_are_blood_4k/we_are_blood_4k.m3u8

All you need to do is view the HTML source code and copy/paste. Then replace your stream URL and JS libs paths.

We used Video.JS version 4.12.15 and Viblast 6.07. HTML5 playback is better than Flash Player playback. But HTML5 playback isn't yet available with all video browsers. 
Login to post a comment