iOS: how to play a video file from a url?

David Bovill david at vaudevillecourt.tv
Sat Dec 11 13:39:33 EST 2010


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 <niggemann at uni-wh.de> 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-tp3082721p3083164.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list