
- Examples
- Audio Player
MC Altair Audio Player
This is an example of how MC Altair can be used as an audio-only player. Note that MC Altair doesn't yet support MP3 (that will come ASAP) so for now you'll need to use an FLV or H.264 file (obviously there will be no displayed video, just the audio part). In future I will develop the audio-only option more—this is just a start.
<!-- MC Media Player --> <script type="text/javascript"> playerSize = "260x24"; playerFile = "http://www.mcmediaplayer.com/public/mcmp_0.7.swf"; fpFileURL = "http://www.mcmediaplayer.com/red5/audio/piano-01.flv"; fpButtonOpacity = "0"; cpPosition = "0x0"; cpBackgroundOpacity = "100"; cpHidePanel = "never"; cpPlayBtnPosition = "8x4"; cpStopBtnPosition = "30x4"; cpVolumeBtnPosition = "55x2"; cpScrubberPosition = "95x8"; cpCounterPosition = "205x4"; cpRepeatBtnPosition = "310x7"; cpFullscreenBtnPosition = "310x7"; cpInfoBtnPosition = "310x7"; </script> <script type="text/javascript" src="http://www.mcmediaplayer.com/public/mcmp_0.7.js"></script> <!-- / MC Media Player -->Actarus's school..
<!-- MC Media Player --> <script type="text/javascript" src="js/config/examples/audio.js"></script> <script type="text/javascript" src="js/mcmp_0.8se.js"></script> <script type="text/javascript"> mccode(0.8,'MC Altair Audio Player'); </script> <!-- / MC Media Player -->
Note: I didn't include the auto-repeat button in this demo because I realized the tooltip function gets mangled at these dimensions. I'll deal with that later.