Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 19    Views: 287

THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
02/19/13 06:56 PM (12 years ago)

YouTube and Custom URL question

If I’m using Custom URL to launch a you tube video, AND my devices have YOU TUBE installed on them, doesn’t the standard http://youtubeaddressblahlblah.com open the installed app to view the youtube video? In the simulator when placing the m.youtubeaddressblahblahvideoID i get it to launch it in safari, however, on my real device that has the google youtube app installed on it I get a banner at the top that says “open in youtube app”. I can’t get simulator to load a standard youtube.com address from the custom url plugin, however, it will launch the m.youtubeaddress—do you know if I’d be ok with just using the standard http:youtubeaddressblahblah for devices that do have the google you tube app installed? OR is the safest bet to load the m.youtbue link?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 06:58 PM (12 years ago)
Have you tried to get the smartphone url (m.youtube.com)? Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:00 PM (12 years ago)
Hey jake, i mention that above-- m.youtubeblahblahaddressvideoid--that part launches in simulator just fine, however, on my iphone, it tells me that i have the google youtube app installed and do i want to use it
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 07:01 PM (12 years ago)
Have you tried to get the Embed code and embed it in an HTML Doc or Custom Text/HTML? Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:03 PM (12 years ago)
i'm launching it from a simple menu, so the simple menu part a list of videos i want the user to encounter, then when clicking on of their choosing it launches youtube - i don't want them to have to go to another page to click from there.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 07:04 PM (12 years ago)
Have you tried the AT53 Video Plugin (You could host the videos on another server like Dropbox or Self Hosted)? Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:12 PM (12 years ago)
we're trying to get our employees to use our youtube channel-so that's not an option for me right now...the main question really is still will a regular youtube address launch the app if the google youtube app is on the device the user has. when i use a regular youtube address on my iphone it launches the app when i use a m.youtube address it launches safari with a message at the top that says "open in youtube?"
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 07:15 PM (12 years ago)
Try this URL: http://m.youtube.com/index?&desktop_uri=%2F Does this say Open in YouTube? Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:21 PM (12 years ago)
when i launch it as a regular link from my iphone, yes. mind you i'm not running the app in test mode on my iphone at the moment-
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 07:30 PM (12 years ago)
I just did a Custom URL Test. I put http://youtube.com in as the address and it worked, no problems. It did not ask to open the YouTube App. Have you tried putting the Video into a Custom URL screen? Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:38 PM (12 years ago)
jake, did it launch in safari or the google youtube app? i am using custom url plugin....my issue is not that, it's about the simulator not showing what happens if i use a regular youtube address and not the mobile one... simulator simulates when the m.youtube address is given....BUT.... shows nothing when the regular http://youtube.com address is show. i have no way to simulate on a real device right now, only in xcode's simulator.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 07:40 PM (12 years ago)
What is the URL to the video? (Possibly I could try on my device) Jake
 
THDJenn
I hate code!
Profile
Posts: 7
Reg: Jan 23, 2013
Atlanta
70
like
02/19/13 07:42 PM (12 years ago)
it's happening with about 48 videos right now, simulator shows it when the m.youtbe address is shown, but not when the regular youtube.com address is shown for instance - http://www.youtube.com/v/EHjl5A5V4uk vs. http://m.youtube.com/add_favorite?v=EHjl5A5V4uk
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
02/19/13 09:36 PM (12 years ago)
Hey so why dont you try atrains and mine youtube plugin(chek plugin market),which is used to stream videos from youtube..just enter 11 digit video id and !voila!tThe video streams and quality on basis of your intrnet speed.!for any details..pm me or mail meto suvinay123 at gmail dot com And can even help for setting the whole videos in your apps..
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 10:25 PM (12 years ago)
@SuVinay Pawa: Is this only Android?
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
02/19/13 10:28 PM (12 years ago)
@jake chasan :Yes!
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 10:29 PM (12 years ago)
@THDJenn: Try to use this URL: http://www.youtube.com/watch?v=EHjl5A5V4uk& It seems that the player you were using leads to a full-browser video which does not seem compatible. To resolve this issue: Find the Web Page (The one with the comments and related videos on the side) and enter this into the URL field. Jake
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
02/19/13 10:30 PM (12 years ago)
@jake: which device is @THDJennn on?ios or android?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/19/13 10:30 PM (12 years ago)
I believe iOS. Jake
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
03/01/13 11:46 PM (12 years ago)
Hi Jenn, Have you figured out how you are presenting your YouTube videos? Let us know if you need any help:) Ian
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.