I need to develop an app which will play vimeo videos. Now, Vimeo officially provide a class named VIMVideoPlayer to play videos. (https://github.com/vimeo/VIMVideoPlayer)
I also wondering if there is any other way to get success but videos with vimeo url like 'https://vimeo.com/136061500' not working with it. I need to achieve this. Please provide your help to get over on this.
VIMVideoPlayer only works with direct links to video files. If you are a Vimeo PRO user, and own the video, you can get direct link access, but those links are not accessible to other users videos.
Related
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.
I wonder if it is at all possible to play Vimeo and YouTube via the React Native component react-native-video. My research so far points to this being virtually impossible, because react-native-video needs a direct reference to a file (or a stream?) and these references are hard/difficult to obtain for YouTube and Vimeo?
Is there any way to get react-native-video working with Vimeo & YouTube?
react-native-video will work with Vimeo, if you subscribe to Vimeo Pro.
Vimeo Pro offers the ability to use your video own third party player, which lets you get the url for your video in 360p, 540p, 720p, or 1080p specifically or as an HTTP Live Streaming url which can choose the correct resolution/bitrate for the user's connection. react-native-video work with any of these formats!
I know a github project which is a Youtube component for react-native. Check it out, maybe it can help you ;)
Here you have an other project for Vimeo videos
Try to create feed which show shared video from youtube, vimeo, hulu and vube.
For this, I create custom view which has thumbnail by default and after user tap thumbnail replaced by UIWebView with url to shared video.
After page loaded, I try to start play video using Media API and method play.
That works good for vimeo, but does not work for youtube, unfortunately i did not check with hulu and vube.
Maybe someone have have workable solution, or some suggestion how that can be done?
The only way to display a youtube video inside your application is by using the YouTube Helper Library, developed by Google, which provides a subclass of UIWebView that you can use.
Here you'll find every information you need.
So I want to make an app with my own custom menu, from where I can have access to my videos on youtube. I know how to link individual videos but I want to be able to update it with a back end or just by adding more videos to my youtube playlists and not have to fully patch my app to add more content. wondering how you all might suggest I go about doing this.
This sample will help you understand how to upload your videos to YouTube, https://github.com/youtube/yt-direct-lite-iOS
I know about how to play video in device. But Here I just want to know that is it possible to get streaming URL from any YouTube Video? Then how can I do it, I tried to search on google but I can not able to find my solution.
Generally I does not want to play direct stream from video, actually I want to save this URL (stream) in my buffer memory OR whatever temporary file and whenever user click on particular button then particular URL Stream is play.
Al Last I got YouTube APIs + iPhone = Cool mobile apps. But I am not sure that it's helpful in my case or not ? If anybody who worked on this API then please suggest me, Otherwise How can I get streaming URL.
Your suggestion will be appreciated.
Thanks in advance.
http://www.youtube.com/get_video_info?&video_id={VIDEO_ID}
This will not work on all files, some will display the message "This+video+contains+content+from.....". But many will work.
Is it possible to get streaming URL from any YouTube Video? - No, it is not possible without hurting the terms of service of youtube. Google has built the business model of youtube around the advertisements all over youtube, in-video banners and video ads and they want your user to see their ads. This is the reason they completely hide the video stream and would ban your app if you anyway access and stream it directly.
The only consented way to play youtube videos on iOS is to embed it into an iframe of a web view.