Issue when using embedded YouTube API for app - youtube

I made an app that can watch videos uploaded on YouTube through YouTube API.
I saved the URL, channel name, and thumbnail of the videos in my database and it's being called up from the app and played back.
Due to YouTube's policy, I know that it is possible to provide videos that the original author did not reject through embedding, so please let me know if it is possible to save URLs, channel names, and thumbnails in my database.

Related

Is there any way to get direct video download link from YouTube and which work on another devices for long time?

Is there any way to get direct video download link from YouTube and which work on another devices for long time? I tried a lot of third parties softwares to generate the direct download links but after a short time these links dead. May be YouTube changes some parameters in the direct download url. I am trying this for my own channel, to offer direct download for my videos from YouTube at my website, so I need direct download links for each video.
One of the benefits of YouTube Red is the ability to download videos for up to 30 days on supported devices. This is the only official way I am aware of to download videos offline. According to the YouTube Developer Policy, you are not allowed to make content available for offline playback, so I would be cautious of these third party services.
One solution would be to upload the video to YouTube for normal online playback, and upload a copy of the video file somewhere else (ex. Google Drive or on your website) so that users can download from this alternate location.

Is it allowed to include Youtube Video in iOS app

I want to include some youtube videos in my app, is it allowed to add youtube videos by apple? I am not sure if apple will reject the app or not, if i add any youtube video.
I know that for images, we can't add any image or else your app will be rejected by Apple. So for image i use googled images which are free to use. Is there any restriction for youtube videos as well?
Thanks,
Richa
Yes we can allow the YouTube Video into iOS app.
Because YouTube-provides native iOS video player to play the content
that you retrieve. You can access the documentation for the various
API endpoints offered, including ones not covered in this article, at
https://developers.google.com/youtube/.
Integrating YouTube
My App got reject from Apple Review stating this (AUG/2020)
Guideline 5.2.3 - Legal
I'm using the youtube data api v3 to get the popular videos by country and display as a list on the app (App built using Flutter). each list item displaying only the title, description, thumbnail image and upload date. when click on list item to stream the video I launched in youtube app. (no steaming in my app). but apple reject my app stating above.
check this on apple developer forum

How do music service pages retrieve YouTube video URL?

Music sites like Playmoss and Submissionhub manage to retrieve the YouTube video file URL from the standard player watch URL. When a user pasts a YouTube URL like this into their service, the get the video file URL like this and save them in their system. This is necessary to later reproduce the media files with an external audio player like SoundManager2.
I learned that it's possible to retrieve the info from command line but that's impossible to do so from embedded YouTube videos.
Any idea how the mentioned sites manage to do that?
It is impossible (and illegal) to retrieve YouTube video URL. Music sites like the mentioned in the question seem to play YouTube files controlling the embedded videos. This can be done using Javascript as described here.

How to transfer youtube video from one account to the other without reuploading on my server?

I want to transfer some videos from youtube(I've videos ids) to my own youtube account.
How to do it without downloading video to my server and uploading to my account?(This is not good solution for me because the traffic on my hosting is limited and it's so long process(download+upload))
You can just create a playlist in your channel and add those videos into your playlist. They will still be hosted in their original channel's upload playlist as well though.

How To Access URLs Of Videos Uploaded Via Youtube Direct Lite

I am planning on integrating YouTube into my web app where users will be able to upload videos to YouTube. I will need to programmatically access the URLs for all uploaded videos, the user IDs of the users who uploaded the videos, and record them in my database.
How can I do this using YouTube Direct Lite?
Is it possible to...
have YouTube Direct Lite callback my app when the download has been completed?
save parameters along with the uploaded video?
You have two options. You can retrieve a feed of videos that have been submitted to your playlist using the Data API, just like YouTube Direct Lite does behind the scenes. The relevant API call is something like
https://gdata.youtube.com/feeds/api/videos?v=2&orderby=published&category=%7Bhttp%3A%2F%2Fgdata.youtube.com%2Fschemas%2F2007%2Fkeywords.cat%7DytdlPLAYLISTID
where PLAYLISTID is the id of the playlist you're using to solicit videos (omit the PL prefix).
You can periodically make this query from your own app to get a feed of videos that are being submitted.
Alternatively, you can use YouTube Direct instead of YouTube Direct Lite. YouTube Direct is a full Java App Engine web application, and has its own datastore that gets updated whenever a submission happens. You can use that data however you'd like. It's a lot more work to get up and running with YouTube Direct, though.

Resources