Hi David,

I tried this and it worked for adding a movie when building the standalone
app.
I added in the standalone application settings -> Copy files the movie file
I wanted to include.
In the button scipt I put:

-----------------------
on mouseUp
   put "LanoKurz-iPhone-cell.3gp" into tMovie
   put specialfolderpath("engine") & "/" into tMypath
   put tMovie after tMyPath
   play video tMyPath
end mouseUp
------------------------

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")

Kind regards
Bernd



David Bovill-5 wrote:
> 
> Thanks Bernd - works a treat - should dig into what files can be played -
> I
> 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 <niggem...@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.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to