Hi David,

I don't get what you mean. 
The code downloads a movie file to the iPhone. You can then play it as often
as you want. It is stored in a folder, in this case the "cache" folder. The
cache folder is not backed up by iTunes.
If you would download the movie into the "Documents" folder iTunes would
even back that up.

If you mean to automatically capture a stream to a folder: that I don't know
how to do.

Kind regards

Bernd


David Bovill-5 wrote:
> 
> Thanks again Bernd....  ideally you would be able to stream a movie then
> after you had played it, or it had all downloaded save it to a folder :)
> 
> On 11 December 2010 10:18, BNig <[email protected]> wrote:
> 
>>
>> Hi David,
>>
>> here is a way to download a movie once and store it on the iPhone for
>> repeated showing from the local file, also between restarts of the app.
>> You
>> would have to know the URL beforehand.
>> ----------------------
>> on mouseUp
>>   put "LanoKurz-iPhone-cell.3gp" into tMovie
>>    put specialfolderpath("cache") & "/" into tMypath
>>   put tMovie after tMyPath
>>   if there is a file tMyPath then
>>      play video tMyPath
>>   else
>>      answer "will download the file"
>>      put "binfile:" before tMyPath
>>      put URL
>> "
>> http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz-iPhone-cell.3gp
>> "
>> into URL tMyPath
>>   end if
>> end mouseUp
>> -------------------------------
>>
>> Kind regards
>>
>> Bernd
> 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083652.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

Reply via email to