The JW Player API offers a way to manage and deliver video content programmatically. On Pipedream, you can leverage this API to automate video publishing workflows, analyze viewer data, and integrate with other services. Creating, updating, and managing video metadata can be automated, as well as handling video transcoding jobs and analyzing performance with custom metrics. By tapping into Pipedream's serverless platform, you can build powerful automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jw_player: {
type: "app",
app: "jw_player",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jwplayer.com/v2/sites/{{your_site_id}}/media/`,
headers: {
"Authorization": `${this.jw_player.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Automated Video Publishing Workflow: Create a workflow on Pipedream that listens for new videos uploaded to a cloud storage bucket like AWS S3. Once a new video is detected, the workflow uses the JW Player API to upload the video to your JW Player account, set metadata, and publish it to your specified channels or playlists.
Video Performance Dashboard Sync: Construct a Pipedream workflow that periodically fetches video analytics from JW Player API and sends this data to Google Sheets. This allows you to maintain a real-time dashboard of video performance metrics, like views and engagement, which can be shared with your team or used for reporting purposes.
Social Media Integration: Build a Pipedream workflow that triggers when a new video is added to JW Player. The workflow could then craft a social media post with the video's details and automatically share it on platforms like Twitter or Facebook using their respective APIs. This helps in promoting new content instantly and driving audience engagement.
Emit new event when a new media conversion is completed or a media becomes available.
Creates a new media file in JW Player using fetch or external upload methods. See the documentation
Searches for a media or lists all media available in JW Player. See the documentation
JW Player uses API keys for authentication. When you connect your JW Player account, Pipedream securely stores the keys so you can easily authenticate to JW Player APIs in both code and no-code steps.