When Publitio Player is unable to play the video for any possible reason, player will fire one of the standard error messages. Error will be shown within the player screen (as in image bellow), while more robust error info can we viewed within the browser console.
Here is a full list of standard errors that may be returned by the player:
- Error code: 1
- Type: MEDIA_ERR_ABORTED
- Headline: The video download was cancelled
- Message: You aborted the media playback
- Error code: 2
- Type: MEDIA_ERR_NETWORK
- Headline: The video connection was lost, please confirm you're connected to the internet
- Message: A network error caused the media download to fail part-way. Currently most helpful for MP4 and/or progressive download video formats.
- Error code: 3
- Type: MEDIA_ERR_DECODE
- Headline: The video is bad or in a format that can't be played on your browser
- Message: The media playback was aborted due to a corruption problem or because the media used features your browser did not support.
- Error code: 4
- Type: MEDIA_ERR_SRC_NOT_SUPPORTED
- Headline: This video is either unavailable or not supported in this browser
- Message: The media could not be loaded, either because the server or network failed or because the format is not supported.
- Error code: 5
- Type: MEDIA_ERR_ENCRYPTED
- Headline: The video you're trying to watch is encrypted and we don't know how to decrypt it
- Message: The media is encrypted and we do not have the keys to decrypt it.
- Error code: -1
- Type: PLAYER_ERR_NO_SRC
- Headline: No video has been loaded
- Error code: -2
- Type: PLAYER_ERR_TIMEOUT
- Headline: Could not download the video
- Error code: PLAYER_ERR_DOMAIN_RESTRICTED
- Type: PLAYER_ERR_DOMAIN_RESTRICTED
- Headline: This video is restricted from playing on your current domain
- Error code: PLAYER_ERR_IP_RESTRICTED
- Type: PLAYER_ERR_IP_RESTRICTED
- Headline: This video is restricted at your current IP address
- Error code: PLAYER_ERR_GEO_RESTRICTED
- Type: PLAYER_ERR_GEO_RESTRICTED
- Headline: This video is restricted from playing in your current geographic region
If an error does not have an associated error code, a generic message is displayed:
- Error code: unknown
- Message: MEDIA_ERR_UNKNOWN
- Description: An unanticipated problem was encountered, check back soon and try again
Please sign in to leave a comment.