Results 1 to 2 of 2

Thread: Controlling a Flash MP3 player from javascript?

  1. #1
    Join Date
    Apr 2010
    Posts
    1

    Controlling a Flash MP3 player from javascript?

    I want to put some background music in my website and I figured the most compatible way to do this was with a flash player.

    I'm looking at things like this
    http://flash-mp3-player.net/players/maxi/documentation/
    http://www.macloo.com/examples/audio_player/

    The problem I'm having is how to control the music. Namely I want it to auto start, loop, and I want to put a button on my page to turn it on/off. I don't know how to program Flash stuff so I figure my button would just trigger a javascript function. Does anyone know of a flash player that I can play/pause through js?

  2. #2
    Join Date
    Mar 2010
    Location
    Ithaca, NY, USA
    Posts
    212
    The YouTube Chromeless API is an option if you own/have permission for the music. You can upload to it to YouTube as a video, embed the player, and control it through JavaScript.
    Last edited by coiner; 21 Apr 2010 at 08:20 PM.

Similar Threads

  1. Custom Audio / MP3 Player
    By abysslogic in forum Tutorials
    Replies: 1
    Last Post: 05 Nov 2009, 05:18 AM
  2. New technology to make a web flv player
    By jenniferrung in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 23 Oct 2009, 01:27 AM
  3. Flash MP3 Player
    By DirtySanchezGT in forum General Questions
    Replies: 0
    Last Post: 25 Feb 2009, 09:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •