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

David Bovill david at vaudevillecourt.tv
Fri Dec 10 16:16:40 EST 2010


Does anyone have an example script that works for playing a video from a url
in iOS?

The docs say:

Basic support for playing videos has been added using a variant of the play
> command. A video file
> can be played by using:
> play ( video-file | video-url )
> The video will be played fullscreen, and the command will not return until
> it is complete, or the
> user dismisses it.
>

But I get nothing when I issue:

on mouseUp
>    play "http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov"
> end mouseUp
>

or

on mouseUp
>    play "http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov"
> end mouseUp
>

even though setting the file name of a quicktime movie to "
http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov" works
fine? I'd like to test an example that definitely works....



More information about the use-livecode mailing list