Troubleshooting common problems
If video playback doesn't start at all
If video playback doesn't start after everything seems to be set up, then you can do the following things:
Make sure that you are using a supported browser.
See if the video tag has the
Open the development console of your browser and look for any error messages. To open the console in Chrome press
Control + Shift + J(Windows/Linux) or
Command + Option + J(Mac). To open the console in IE11 press
data-viblast-log="warning"to the video tag attributes. This will activate logging of warning messages. Open the development console as described above and look for any warning messages that may point you in the direction of the problem.
If the video stream originates from a different domain than the website where you are trying to play the video then please make sure that CORS is enabled. The error that the browser logs when CORS is not enabled usually reads:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Versions of Chrome less than 50 don't auto detect the
HE-AACaudio codec. If you are streaming
HE-AACencoded audio and experiencing problems with such Chromes then try setting
data-viblast-he-aac="true"as an attribute to the video tag and see if that solves the problem. For examle:
<video src="http://myserver.com/playlist.m3u8" data-viblast-key="N8FjNTQ3NDdhZqZhNGI5NWU5ZTI=" data-viblast-he-aac="true"></video>
- If you are unsure whether Viblast Player is being initialized for a particular video element, try adding
data-viblast="true"to the video element:
<video src="http://myserver.com/stream?format=hls" data-viblast="true" data-viblast-key="N8FjNTQ3NDdhZqZhNGI5NWU5ZTI="></video>
- The HLS playlist (if you are using HLS) must be transfered with the content type of
application/x-mpegURL. Otherwise this may cause problems on iOS and Android devices. You can check the content type using curl:
curl -vX HEAD http://cdn3.viblast.com/streams/hls/airshow/playlist.m3u8 ... < Content-Type: application/vnd.apple.mpegurl ...
Problems with DRM protected streams
If normal streams are played just fine but
DRM protected ones don't start then:
Make sure that you've specified
viblast-widevine-licensing-server. More info can be found in our documentation on Viblast Player and DRM
widevine licensing serveris not specified or miss-configure then Viblast Player will log an error that says something along the lines of
viblast-config.widevine.licensing-server is mandatory
Check if the licensing server is operating properly
Make sure that Viblast Player is contacting the proper licensing server by opening the development console (as specified above), clicking on the
Networktab and searching for the url of the licensing server.