Video streaming
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
Video streaming
I am new to Livecode and programming and have just purchased your app. I am creating an app for Android which will give users access to 20 - 40 videos, each 1-2 minutes in length, hosted on Vimeo - (Vimeo pro account).
Will it be possible to do this using the native player, and if so could you please help me out with providing some tips on how to execute this? Some code would be brilliant if you are able to help me on this level.
Will it be possible to do this using the native player, and if so could you please help me out with providing some tips on how to execute this? Some code would be brilliant if you are able to help me on this level.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Video streaming
Hi Appy777,
I take it you've been through this lesson?
http://lessons.runrev.com/m/4603/l/44283-using-players
After that, ask a specific question related to any problems you may have.
Simon
I take it you've been through this lesson?
http://lessons.runrev.com/m/4603/l/44283-using-players
After that, ask a specific question related to any problems you may have.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Video streaming
Hi Simon,
I have looked at that page but there is a note at the bottom of the page which reads:
Using Players on iOS
"LiveCode players are only supported in desktop applications. If you want to use a player in an iOS application you can use an iosPlayer object, this is a native iOS control that displays a movie. For more information on using iOS players see this lesson."
There is nothing mentioned about Android.
I have looked at that page but there is a note at the bottom of the page which reads:
Using Players on iOS
"LiveCode players are only supported in desktop applications. If you want to use a player in an iOS application you can use an iosPlayer object, this is a native iOS control that displays a movie. For more information on using iOS players see this lesson."
There is nothing mentioned about Android.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Video streaming
Check out mobileControlCreate in the dictionary.
Simon
Edit; The ios lesson works on Android, there was a bunch of keywords starting with ios... or Android... but I believe they have all been converted to mobile...
Simon
Edit; The ios lesson works on Android, there was a bunch of keywords starting with ios... or Android... but I believe they have all been converted to mobile...
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Video streaming
Hi Appy777,
Since it looks like you bought it already, MobGUI has a mobile player control you can drag out.
http://mobgui.com/doc.php?docId=20
--Sefro
Since it looks like you bought it already, MobGUI has a mobile player control you can drag out.
http://mobgui.com/doc.php?docId=20
--Sefro
Re: Video streaming
Ok, I will need to try these options once I have enough of a foundation to start creating my app. I was hoping someone could confirm they actually have such a system up an running in their app. I am learning Livecode solely to make this app, and I would be very frustrated, to say the least, if I spent months learning plus hundreds of $$$ on membership, tutorials & license only to find it's simply not possible! I was hoping to short circuit that and find out before I am too far down the road.
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Video streaming
That's the beautiful thing about LiveCode community. It's free and open source, so you can "try before you buy" or even in some cases, not buy at all.....Appy777 wrote: I am learning Livecode solely to make this app, and I would be very frustrated, to say the least, if I spent months learning plus hundreds of $$$ on membership, tutorials & license only to find it's simply not possible! I was hoping to short circuit that and find out before I am too far down the road.
If you want to PM me a link to one of your videos in question, I would test it out on the mobile player for you.
--Sefro
Re: Video streaming
Sefro, thank you so much! Let me get the Vimeo side of things sorted out this week and once I have, I will contact you. You are very kind
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Video streaming
I have tried, without success, to get streaming video from vimeo or youtube working on android using a player object or a browser object. I have been able to have the video show up using both controls, but for some reason only the audio is streamed and the player remains black. I've set the acceleratedrendering to true, I've also tried embedding the iframe into a local html file with no success....For some odd reason using the fullscreen button makes it work..... does anybody have this working on android?
--Sefro
--Sefro