Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 2    Views: 242

RickB
Lost but trying
Profile
Posts: 8
Reg: Jun 17, 2011
Sunnyvale, CA
9,580
07/23/12 11:12 AM (13 years ago)

playing video clips on Android, either via native app, custom HTML, or custom URL

I'm creating an app (concentrating on Android right now, but eventually iOS) which is basically a collection of video interview clips, which are accessed using menus to navigate by topic or by the person interviewed. I think I've read through almost everything video-related in the forums, and am still having some difficulty creating something that works for me. I can actually get the clips to play using the "launch native app" plugin, but the sequence for my Android phone is this: (Using a menu item that links to a 'native app' screen set to "YouTube" with a YouTube URL) 1) I click on the menu item 2) My phone wants to first launch a browser, so asks me which one (I have the default browser and Dolphin) 3) Once that app launches, it asks if I would like to launch the content in the YouTube app. Similarly, I get that same step 2)if I put an .mp4 file on a web server and use the native app plugin to try and launch the video player app (it goes through the browser first). I've also tried embedding the video using the HTML5 <video> tag, unsuccessfully. It will show the video status bar, but won't load the clip. This happens if I put the HTML doc on a web server and use the Custom URL plugin. I'd like to eliminate that middle step using either the YouTube native app or loading an .mp4 directly into whatever app is available to play .mp4s on the user's machine. Any ideas? Thanks for any suggestions.
 
RickB
Lost but trying
Profile
Posts: 8
Reg: Jun 17, 2011
Sunnyvale, CA
9,580
like
07/23/12 12:35 PM (13 years ago)
Slow on the uptake. I just figured out that the URL given to me when "sharing" from YouTube was like this http://youtu.be/xxxyyyy Turns out the full URL works better: http://www.youtube.com/watch?v=xxxyyyy In step 2 above it asks if I want to open the link with the default browser, Dolphin, or YouTube. So that's better. I tried youtube://www.youtube.com/watch?v=xxxyyyy, which possibly works in iOS, but that doesn't work at all in Android. At least for me.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
07/23/12 08:05 PM (13 years ago)
Will look into this for you rick, looking for the same solution, really. Cheers, David buzztouchmods.com
 

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.