Videoclip on IOS app for Ipad

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cybernaut
Posts: 13
Joined: Wed Feb 09, 2011 2:57 pm

Videoclip on IOS app for Ipad

Post by cybernaut » Mon Jul 04, 2011 12:32 pm

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

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Videoclip on IOS app for Ipad

Post by Klaus » Mon Jul 04, 2011 12:48 pm

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

cybernaut
Posts: 13
Joined: Wed Feb 09, 2011 2:57 pm

Re: Videoclip on IOS app for Ipad

Post by cybernaut » Mon Jul 04, 2011 1:02 pm

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

Post Reply