with JW Player and Cloud Convert?
Emit new event when a new media conversion is completed or a media becomes available.
Emit new event when a CloudConvert job has failed. See the documentation
Emit new event when a CloudConvert job has been completed. See the documentation
Emit new event when a new job has been created. See the documentation
Creates a new media file in JW Player using fetch or external upload methods. See the documentation
Converts an input file to a specified output format using CloudConvert. See the documentation
Creates an archive in a specified format. See the documentation
Searches for a media or lists all media available in JW Player. See the documentation
Creates a task to import a file from a URL. See the documentation
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`,
},
})
},
})
The Cloud Convert API offers a robust solution for file conversion, supporting a vast array of file formats. With Pipedream, you can harness this versatility to create automated workflows that trigger file conversions, process the resulting files, and integrate with other services. By combining Cloud Convert with Pipedream's connectivity to hundreds of apps, you can craft custom automation that saves time and removes the friction from multi-format file management tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloud_convert: {
type: "app",
app: "cloud_convert",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudconvert.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.cloud_convert.$auth.oauth_access_token}`,
},
})
},
})