- Home /
Play Video Mobile
I'm making an iPhone app for a guys Youtube channel and basically when the user touches one of the video thumbnails it will play the video. I'm currently using the below script to open the Youtube video in fullscreen mode when the user touches the thumbnail/button.
Application.OpenURL("http://m.youtube.com/#/watch?v=KblpUbmxPsM");
The problem with the above script is once the user is done watching the video and then presses done it's still on the Youtube app. How can I embed or have them still in my app while watching the Youtube video? There are 100's of videos that I need to put in the app so the file size would be way to big if I actually tried to integrate each video file in the app.
Thanks in advance!
Answer by Breezeonhold · Aug 11, 2012 at 10:55 AM
I'm kind of a noob so this might be a stupid reply but could I stream any content from a url like from youtube? The script below doesn't work; however if I put a drobbox url in there for some reason it does stream video. Can you explain why?
iPhoneUtils.PlayMovieURL( "http://www.youtube.com/watch?v=pMas0tWc0sg&feature=g-logo-xit, Color.white, iPhoneMovieControlMode.CancelOnTouch);
Your answer
Follow this Question
Related Questions
Knowing the position 1 Answer
Is it possible to have scalable or non-full screen video animations on mobile devices using Unity? 0 Answers
onControllerHide() crash 0 Answers
video & mobile 0 Answers
Sharing fly through video advice 0 Answers