Skip to content

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.

  1. Log in to your JW Player account.

  2. Click Settings > API Credentials.

    JW_Player_2.png

  3. Click Add.

    JW_Player_4.png

  4. Enter a name for the API Key, select a user role, and click Save.

    JW_Player_5.png

  5. Copy the API Key to a safe place.

    JW_Player_6.png

  6. Click Settings > Properties.

    JW_Player_8.png

  7. Copy the Property ID to a safe place.

    JW_Player_9.png

  8. In your Ibexa Connect account, insert a JW Player module in your scenario and click the Add button next to the Connection field.

    JW_Player_1.gif

  9. In the Connection name field, enter a name for the connection.

  10. 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:

Add Metadata

Select whether to add metadata.

Add Relationships

Select whether to add relationships.

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 https://api.jwplayer.com. For example, /v2/sites/0IckF7fs/media.

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

JW_Player_10.png

Matches of the search can be found in the module's Output under Bundle > Body > media.

In our example 10 media collections were returned:

JW_Player_11.png