iOS: how to play a video file from a url?
niggemann at uni-wh.de
Sat Dec 11 04:48:59 EST 2010
I tried this and it worked for adding a movie when building the standalone
I added in the standalone application settings -> Copy files the movie file
I wanted to include.
In the button scipt I put:
put "LanoKurz-iPhone-cell.3gp" into tMovie
put specialfolderpath("engine") & "/" into tMypath
put tMovie after tMyPath
play video tMyPath
watch out: the iPhone is case sensitive.
This would get you a movie file into your app that you can play without
streaming it over the network.
If you want to download a movie file you could probably store it in "cache".
I did not do that yet. specialfolderpath ("cache")
David Bovill-5 wrote:
> Thanks Bernd - works a treat - should dig into what files can be played -
> assumed it was the same of more than QuickTime for OSX.
> What is the strategy would you say for caching / downloading videos?
> On 11 December 2010 00:51, BNig <niggemann at uni-wh.de> wrote:
>> Hi David,
>> the above file is about 830 KB
>> this one is about 74 KB and it is again exported via Quicktime Player for
>> the iPhone. format .3gp as you see.
>> runs smother.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083147.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode