Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get mp4/mov/m4v video link for a youtube video?

Can we get the file url for any video loaded on youtube? I am not happy using the youtube player in my application and would like to launch it using a instance of MPMoviePlayerController.

PS: Will be tagging it php also as developers across domains would also have had this sort of requirement

like image 839
Praveen S Avatar asked May 16 '11 10:05

Praveen S


People also ask

Can M4V be uploaded to YouTube?

Because iTunes videos are formatted in M4V which is protected by Apple's FairPlay Digital Rights Management (DRM). Obviously, M4V videos are not accepted by YouTube unless you remove DRM. In order to share iTunes videos on YouTube, you need to convert M4V to the format that is acceptable by YouTube.

Is MOV or MP4 better for YouTube?

The main difference between these two container formats is that MOV is a proprietary Apple file format for QuickTime, while MP4 is an international standard. Most streaming platforms recommend the use of MP4 files instead of MOV, since MP4 files work with more streaming protocols.

How do I turn my YouTube video into a link?

Go to YouTube and log in to your account. Click the CREATE > Upload videos in the upper right corner, then tap on SELECT FILES to browse for your video, and click the Open. Complete the video elements like title, video thumbnail. After uploading, you'll see a video link beneath the video, just copay the video URL.


1 Answers

Do you mean something like this ?

You could get the url of the video and implement it in another video controller.

http://www.ngcoders.com/php/php-youtube-video-downloader-script

You could use Curl to stream it back to your users.

like image 125
Paolo_Mulder Avatar answered Sep 28 '22 13:09

Paolo_Mulder