Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Creates a new media file in JW Player using fetch or external upload methods. See the documentation
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
Searches for a media or lists all media available in JW Player. See the documentation
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
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`,
},
})
},
})