How can I embed private dailymotion live stream on the website? - dailymotion-api

I want to embed the private live stream of dailymotion to my website, and only member on my site can see the live stream. How can I do it?

You can retrieve the embed code directly with the API by using the "embed_url" field (Documentation).
Ex: https://api.dailymotion.com/video/{your_stream _id}?fields=embed_url.
You can also get this code through the interfaces in your partner space:
or directly in the stream page:
Then you have to manage the access to the page on your website where you embed the player

Related

Server side render YouTube videos "Shared Pirvately"

I'm wondering if it's possible to display a YouTube video set to "Share Privately" on a site by rendering it on the server using the Google credentials (email address) assigned in the video's private sharing section.
The thought being if I have a large organization reviewing private videos uploaded to YouTube, I'd rather not add the various email address to the private share settings on each video if I could instead handle inter-organizational auth via protected site and render the video via SSR on those pages. No need to worry about an unlisted video leaking outside of the organization, but also no need to manually add different email addresses to each private video shared internally.
Is something like this possible or does the fact that it's embedded in an iframe negate any server side authentication that would allow viewing the video?

YouTube API for MP4 URL

I haven't found in the documentation, but wanted to see if anybody knew if the API provides ability to pull an accessible MP4 URL that I can embed in my mobile app. The only link I see if an embedded iframe to put on website. Assuming this does not exist as YouTube wants you to use their player, but just wanted to make sure I was not missing some API that I was unaware of.

Permissions to access someone's private videos on YouTube

We're working on an integration with youtube channels (using Youtube Data Api v3). We need to access the videos (private also) on our user's channels.
The flow is the following:
User authorizes his/her youtube account on our site using OAuth.
We show user the list of videos on user's youtube channel.
User selects some of them (they can be private) and sends us for processing.
We need to somehow access the actual video files which the user asks us to process.
The issue is that youtube does not give any streaming URLs or download links.
Looks like, the API provides only iframe embedded code, which works ONLY for the browser, where the user is actually logged into youtube.
How can we access(can we?!) the private video, if we have the OAuth access-token of the video owner?
The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The lists below identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources. This in a sense means that you can see most of what you can see on the YouTube website including uploading new videos.
Downloading Youtube videos is against their Terms of Service, so the API does not support that.
Page linked above refers to Youtube ToS that states:
You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content.
YouTube partners may have access to this feature in their API (no idea i have never seen the api), if you have access to this i suggest you contact your manager directly they should be able to instruct you on how to access it assuming the feature exists.

Does Youtube Data API Sanitize Results

I used YouTube Data API a bit. My page does display users input from Google's servers eg video title. Would you be able to get an XSS by putting to code on Youtube and calling in back on my domain.
YouTube does not allow tags to be created so XSS over an API is no worry.
Sorry don't uses YouTube upload that much

Put vimeo videos in my website homepage

i need to put videos taken from a specific vimeo album. The videos are private (hide from video) so i need to use the advanced api but it seems that OAuth needs an user click to proceed. How can i show directly the videos?
First, if you are starting now I would recommend the new API
Second, if you are only ever using a single user you can just hard code your authentication into your app. Vimeo's documentation describes this feature in more detail.

Resources