This reference documents platform-specifc error and warning codes.
The sources for these errors include:
- Player Javascript components, and loading of said components
- Native provider and the exceptions it may throw
- Native features such as Picture-In-Picture
These error codes extend the existing error codes for the JWX web player.
| Code | Reason | Displayed Message |
|---|
| 101101 | Failed to load jwplayer.core.js. | JavaScript file jwplayer.core.js not found. |
| 101102 | Failed to load jwplayer.js. | JavaScript file jwplayer.js not found. |
| 101104 | Failed to load jwpsrv.js. | JavaScript file jwpsrv.js not found. |
| Code | Reason | Displayed Message |
|---|
| 104101 | Failed to load promise.js. | JavaScript file promise.js not found. |
| Code | Reason | Displayed Message |
|---|
| 230002 | The player cannot continue playback because your internet connection is not reachable. | This video cannot be played because of a problem with your internet connection. |
| Code | Reason | Displayed Message |
|---|
| 281000 | The player cannot continue due to an unknown error.
šThe server may throw code 281000 when the requested resource is restricted by JWX content protection. Content protection methods include:
- Georestricting
- DRM
- URL signing
| Unknown player error. |
| 281001 | The player was unable to load the requested media. | Failed to load media. |
| 281002 | The requested format cannot be played. | Player does not support this format. |
| 281100 | The video track could not be parsed by the player. | Player failed to parse media file. |
| 281101 | The video track could not be decoded by the player. | Player failed to decode media file. |
| 281200 | The player does not have sufficient permissions to access the media.
šMedia access can be prevented due to various reasons, including the following:
- Content protection, such as DRM, georestricting, and URL signing
- Content removal
| User does not have access to content. |
| 281300 | You cannot reproduce this media on external devices. | External playback is not allowed for content. |
These errors are returned by the native AVPictureInPictureController delegate error method Apple Developer Documentation.
šAd warnings are reported through jwplayer(_:encounteredAdWarning:message:).
| Code | Reason | Displayed Message |
|---|
| 70013 | An IMA break was discarded because a Chromecast session was active. The break does not start or count an impression, although the ad-server request has already occurred. | Ad break discarded because a cast session is active; ads are not sent to the receiver. |
| 70014 | On iOS versions earlier than 26.6, an IMA ad stops responding during playback. After 6 seconds without an IMA callback, the player lets the ad play to its expected end before ending the break and resuming content. Any remaining VMAP ad breaks for the current playlist item are skipped. | The IMA ad stopped responding, so the player ended the ad and resumed content. |
| Code | Reason | Displayed Message |
|---|
| 302400 | An error occurred when trying to load the related content. | Error loading related content feed. |
| 302601 | The playlist XML is not a valid playlist XML. | Related playlist was a malformed XML file. |
| 302602 | There is no content on the related playlist. | Related playlist is empty. |
| 302611 | The playlist JSON is not a valid playlist JSON. | Related playlist was a malformed JSON file. |
| 302650 | The configuration does not contain a valid related URL. | Related content URL is nil. |