JW Player¶
With JW Player modules in Ibexa Connect, you can watch media available and updated, create, upload, update, search, retrieve, and delete the media.
To get started with JW Player, create an account at jwplayer.com.
Connect JW Player to Ibexa Connect¶
To connect JW Player app, you need to obtain the API Key and Site ID.
-
Log in to your JW Player account.
-
Click Settings > API Credentials.
-
Click Add.
-
Enter a name for the API Key, select a user role, and click Save.
-
Copy the API Key to a safe place.
-
Click Settings > Properties.
-
Copy the Property ID to a safe place.
-
In your Ibexa Connect account, insert a JW Player module in your scenario and click the Add button next to the Connection field.
-
In the Connection name field, enter a name for the connection.
-
In the API Key and Site ID fields, enter the details copied in steps 5 and 7. Click Save.
You have successfully connected the JW Player app and can now build scenarios.
Media¶
You can watch media available and updated, create, upload, update, search, retrieve, and delete the media using the following modules.
Watch Media Available¶
Triggers when media has become available.
Webhook name | Enter a name for the webhook. |
Watch Media Updated¶
Triggers when a media has been updated.
Webhook name | Enter a name for the webhook. |
Create a Media¶
Creates new media by fetch or external upload methods.
For field descriptions, see the JW Player reference.
Upload a Media (Multipart)¶
Creates new media by a multipart upload method. Best for uploading media files that are 100MB to 25GB.
For field descriptions, see the JW Player reference.
Upload a Media (Single Upload)¶
Creates new media by a direct upload method. Best for uploading media files that are 100MB or less.
For field descriptions, see the JW Player reference.
Update a Media¶
Updates a media.
Media ID |
Select or map the Media ID whose details you want to update. |
||||
Body |
Enter (map) the body details:
|
Get a Media¶
Gets a media by ID.
Media ID | Select or map the Media ID whose details you want to retrieve. |
Search Media¶
Searches for media or lists them all.
Add Sort | Select whether to sort the media using a using field. For example, Duration. |
Limit | Set the maximum number of media Ibexa Connect will return during one execution cycle. |
Delete a Media¶
Delete one or more media.
Media ID | Select or map the Media ID you want to delete. |
Other¶
You can call APIs using the following module.
Make an API Call¶
Performs an arbitrary authorized API call.
Note
For the list of available endpoints, refer to the JW Player API documentation.
URL |
Enter a path relative to |
Method |
GET to retrieve information for an entry. POST to create a new entry. PUT to update/replace an existing entry. PATCH to make a partial entry update. DELETE to delete an entry. |
Headers |
Enter the desired request headers. You don't have to add authorization headers; we already did that for you. |
Query String |
Enter the request query string. |
Body |
Enter the body content for your API call. |
Example of use - List Media¶
The following API call returns all media from your account.
URL: /v2/sites/siteID/media
Method: GET
Matches of the search can be found in the module's Output under Bundle > Body > media.
In our example 10 media collections were returned: