By Dalee
on Wed, 01/16/2013 - 10:04
I really appreciate Vuforia for Video Play Back feature provided for ios and it works great!!! :)
Everything is fine my only problem is how to play a youtube video on video Play Back Sample 2-0-6 instead of playing a video from Document Directory.
Has anyone achieved it and please let me know how it can be done.
Thanks,
Dalee Davis
Hi Dalee, In theory the
Hi Dalee,
In theory the sample code should support this.
Search for EXAMPLE_CODE_REMOTE_FILE in the source code and insert a URL instead after you have uncommented the definition.
Hi Nalin, I tried to load a
Hi Nalin,
I tried to load a remote video files from local server working fine in full screen mode, youtube video load successfully but not playing only showing busy icon. Please help me to fix this issue and what is the maximum possible remote video we can use or load.
"I tried to load a remote
"I tried to load a remote video files from local server working fine in full screen mode"
Hi Nalin,Thanks for your
Hi Nalin,
Thanks for your response!
Hi Dalee, I know some have
Hi Dalee,
I know some have had issues with Youtube URLs.
Could you try this with a URL to a video hosted on your own server / drop box and see if this works? so we can narrow this down...
thanks,
N
Hi Nalin, i tried it with
Hi Nalin,
i tried it with this URL as well http://music.ece.drexel.edu/~mzimmerman/OCPCarmen/oldEmbed.htm.
How to play a youtube video on video Play Back Sample 2-0-6
Hi Nalin,
I tried it with remote server URL and it works and loads fine on full screen that means it works with URL's but i am not able to figure out for youtube URL's
Kindly help me.
How to play a youtube video on video Play Back Sample 2-0-6
Hi Dalee, the Youtube URL topic is addressed in this thread (that you're following too):
How to play a youtube video on video Play Back Sample 2-0-6
Hi Alessandro,
How to play a youtube video on video Play Back Sample 2-0-6
OK, perfect, you can follow up the discussion there then.
How to play a youtube video on video Play Back Sample 2-0-6
Yaa i surely can but will Nalin or you be able to co-ordinate on adding a youtube URL on video-playback on iOS.
Thanks,
Dalee Davis
How to play a youtube video on video Play Back Sample 2-0-6
Hi Dalee
At present unfortunately there is no way to directly play a youtube video with MPMoviePlayerController because Youtube does not expose direct links to the video files, possibly due to commercial iussue such as 1) legal 2) advertising etc.
How to play a youtube video on video Play Back Sample 2-0-6
Hi Alessandro/Nalin,
I also have an another issue when i play a video from remote server it plays in fullscreen and also when the video ends i am unable to exit the player and can't get back to the app.I have to exit the whole app and restart it again!
How to play a youtube video on video Play Back Sample 2-0-6
We are currently investigating this issue, which i think is specific to iOS6 devices - can you confirm?
iOS5 seems to be fine.
N
How to play a youtube video on video Play Back Sample 2-0-6
@Nalin- Ok alright then may be because even i am using ios6.
I an sorry , currently i dont have a device running on iOS 5 to test that.
Thanks,
Dalee Davis
How to play a youtube video on video Play Back Sample 2-0-6
Hi Nalin,
Ok that means we can't directly play a youtube video only way is to download it on the remote server and play right?
And yaa thanks for the information about the videos allowed to be downloaded.
How to play a youtube video on video Play Back Sample 2-0-6
Re UIWebview - your best bet is to get this working in isolation first i.e. without Vuforia, so do a web search as there should be plenty of info.
How to play a youtube video on video Play Back Sample 2-0-6
Hi Nalin,
Thanks for your help! i have already created a isolated project and it works as well.
How to play a youtube video on video Play Back Sample 2-0-6
HI
CAN YOU PLEASE LET ME KNOW THE FILE NAME WHERE THE CHANGES FOR VIDEO URL TO BE DONE SO THAT I CAN SEEK VIDEO FROM YOUTUBE BY PASSING THE URL AND PLAY IN UIWEBVIEW.
How to play a youtube video on video Play Back Sample 2-0-6
In class VideoPlayBack there
In class VideoPlayBack there is a method onSingleTapConfirmed
put this code inside it and enjoy youtube or any link......
{
boolean isSingleTapHandled = false;