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.....
playing audio/video other than quicktime
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
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.
Once everything works properly, you can move the player control off-screen, if you like.
Hope this helped,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
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
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
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
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
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
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
Lazy River Software
3mcgrath@comcast.net