Page 1 of 1
When will Video Player support on Android
Posted: Mon Oct 29, 2012 6:03 am
by Jedt3D
I've just read the LiveCode Android 5.5.3 release note.
On the section
"What doesn't work"
• videoclips/player functionality (planned for a future release)
But here on the page 36...
Video playback support
Basic support for playing videos has been added using a variant of the play command. A video file
can be played by using:
The video will......blah blah
Then I've tried this on a button and deploy to an android phone.
Not work..
( can't post the URL due to permission )
Code: Select all
on mouseUp
play "http___www_wowza_com/_h264/BigBuckBunny_115k.mov"
end mouseUp
So, this 5.5.3 can
Play Video on Android or
NOT ?
Re: When will Video Player support on Android
Posted: Mon Oct 29, 2012 1:18 pm
by Simon
I can play video's on my Android, not sure if this includes online videos.
Code: Select all
put "mnt/sdcard/Movies/my_vid.mp4" into docpath --local video
mobileControlCreate "player"
put the result into sPlayerId
mobileControlSet sPlayerId, "visible", "true"
mobileControlSet sPlayerId, "rect", "0,0,320,460" -- maybe screenRect?
mobileControlSet sPlayerId, "showController", "true"
mobileControlSet sPlayerId, "filename", docpath
mobileControlDo sPlayerId, "play"
That works.
Simon
Re: When will Video Player support on Android
Posted: Mon Oct 29, 2012 1:30 pm
by Jedt3D
Thank you very much. I am going to test it asap.
Re: When will Video Player support on Android
Posted: Mon Oct 29, 2012 7:10 pm
by Jedt3D
Simon, thank you very much!
It's working properly on my device.
I just put all you code into on openCard event of the main stack. That's all.
Time to study mobileControl now..
What's still left to test is play from URL and embeded video.
Re: When will Video Player support on Android
Posted: Thu Mar 24, 2016 12:43 pm
by maulinarmananda
can you give me the example?
I have tried before but still doesnt work

Re: When will Video Player support on Android
Posted: Thu Mar 24, 2016 2:43 pm
by Klaus
Hi maulinarmananda,
maulinarmananda wrote:can you give me the example?
I have tried before but still doesnt work

an example for what exactly?
There are some examples here on this page.
Did you check the dictionary for "mobilecontrolxxx"?
Maybe it is a good idea to NOT revive a 4 year old thread and start a new one.
Best
Klaus
Re: When will Video Player support on Android
Posted: Thu Mar 24, 2016 4:03 pm
by maulinarmananda
sorry, because this is my first time in this forum so I don't know how to throw up new question
my problem is, I want to build android app using livecode. everything is going well but my video on my app doesn't works.
video doesn't come up, so I can't play it. I put code in card where my player in. Is the problem is on my code or on my video format?