Page 1 of 1

Videoclip on IOS app for Ipad

Posted: Mon Jul 04, 2011 12:32 pm
by cybernaut
Hi, could you please advise me if this is possible using LiveCode:
I need to create an app that will run on an Ipad. The app will contain some video clips. I know that I can use the videoplayer to play the videoclips but instead of pointing to a place on the internet where the video is, I want to embed the videoclips in the app at the time of final rendering the app.
Is this possible? How?
Thank you for your help.
Herman

Re: Videoclip on IOS app for Ipad

Posted: Mon Jul 04, 2011 12:48 pm
by Klaus
Hi Herman,

add your videos (or complete folder with videos) in the "Standalone Builder" settings via "Add files..."
In the standalone you will find all added files and folder here: specialfolderpath("engine")

Then you can play them with:
...
play (specialfolderpath("engine") & "/" & "youvideo here.mp4")
...
That's it basically :)

Be sure to check all tutorials here:
http://lessons.runrev.com/spaces/lessons


Best

Klaus

Re: Videoclip on IOS app for Ipad

Posted: Mon Jul 04, 2011 1:02 pm
by cybernaut
Klaus wrote:Hi Herman,

add your videos (or complete folder with videos) in the "Standalone Builder" settings via "Add files..."
In the standalone you will find all added files and folder here: specialfolderpath("engine")

Then you can play them with:
...
play (specialfolderpath("engine") & "/" & "youvideo here.mp4")
...
That's it basically :)

Be sure to check all tutorials here:
http://lessons.runrev.com/spaces/lessons
Thank you so much Klaus!
I'll try this tomorrow, for now is time to go to sleep here in Down Under.
Cheers mate
Herman

Best

Klaus