Page 1 of 1

playing audio/video other than quicktime

Posted: Thu Jul 06, 2006 9:11 am
by lbtony
Can I play files such as .mp3 .wma .wmv. what Should I do? I tried to play a mp3 file using a normal button with some script like:

on mouseUp
play audioclip "C://test.mp3"
end mouseUp

but all I got is some noise. Any idea to this???

thanks.....

Posted: Thu Jul 06, 2006 10:08 am
by Janschenkel
Audioclip supports a limited number of audio formats, and MP3 is not one of them. Create a player control, set its filename to the file path, and then use the 'start' command to start the player.
Once everything works properly, you can move the player control off-screen, if you like.

Hope this helped,

Jan Schenkel.

Posted: Thu Jul 06, 2006 1:17 pm
by lbtony
Hi Janschenkel,
Thank you. Do you know which formats are supported in Runrev? and what's the "play" command for? Because it seems to me that the "play" command it not much about controling the player.

Posted: Fri Jul 07, 2006 1:30 am
by Mark
If you look at the description of the play command in the docs, you will see that it supports quite a few features, such as starting and stopping, stepping forwards and backwards, looping, pausing and resuming, and more. This refers to playing wav files and other formats, but not mp3. Start playing a wav file with "play <filename>"


You should also check out the description of the player object, which shows that there are many options and properties. The player object is for MP3 files and many other formats. You start playing a movie or sound in a player by means of the command "start player <player name>". Before you can play, you have to set the filename property of the player.

Best,

Mark

Posted: Wed Nov 05, 2008 4:29 pm
by mcgrath3
You can also use iTunes from within Revolution on both Mac and Win machines. I wrote an extensive library for full integration with iTunes and it's free for Revolution users.

Go to:

Tom McGrath III
Lazy River Software
3mcgrath@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html