Playing Video

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Tam123
Posts: 19
Joined: Mon Apr 30, 2007 12:55 pm

Playing Video

Post by Tam123 » Sat Jun 23, 2007 10:02 am

Can anyone tell me how to get rev to play an mpg video?

I've imported the video as a control and then renamed it.
I then created a button on one of the cards and used the script..

play videoclip "name of video clip"

but nothing happened

Thanks so much!
:? :? :?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Jun 23, 2007 12:27 pm

Hi Tam123,

Does the movie play in QuickTime? If not, I bet you don't have the right encoding installed. If it does, try using a player object with a referenced movie file instead of a video clip object.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply