Center an html5 audio player on a div

I have a symbol named AUDIOHOLDER
I load with:
var audio1 = sym.$("AUDIOHOLDER1");
audio1.html('<audio controls> <source src="lesson1/assets/audio/audio1.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>')
I cant get the standard html5 audio player to center horizontally and vertically in the audio holder
Any ideas?

check out edgehero.com and use the center class.

Similar Messages

  • Where is the HTML5 Audio player in DWCS6 Cloud version?

    I just joined the subscription version of the Cloud and re-installed DWCS6 from there and don't see the new updates I've read about.  Like the HTML5 Audio player I read about.  Where the heck is it?  Thanks!  So far this I'm not sold on this Cloud thing and the terrible support I received by phone with Adobe.

    Well... it was a bit of a pain to be honest.  I had spoken to 3 different support agents who all had different information on what I needed to do to start using the Cloud.  So I became very confused on who was giving the right info.  When the account became active I went to update DW but it said I was up to date.  It was my 19 year old son who suggested I uninstall my previous version of DW and then download it and re-install from the Cloud.  I saved all my site logins first and noted which extentions I had.  Once I did that I was able to update to the latest version of DW which has the new HTLM5 Video and Audio plugins.
    I spoke to 6 different people yesterday while I was on the phone for nearly 2 hours and not one of them gave the right info.  And I'll try and make this sound right, but 5 of those people were from a foreign country.  While they were polite for the most part, they were very hard to understand and quite often would put me on hold for 5 minutes while they asked someone else for answers.  I found myself not trusting anything they said because each one had different answers.  I finally complained to a supervisor and stated that for the amount of money I've invested in their products over the last 13 years, it's crazy to have such unprofessional support.
    Sorry if I've ranted here but I feel it's part of the experience that I had that may help someone else as you mentioned.  Technically, trust your own intuitions or have someone with common sense around. 
    In closing, I did have to uninstall the programs I had previous to the Cloud and then reinstalled them to get the Cloud versions. AND I had to reinstall all of my DW and FW extentions.  Thankfully all of my site logins for DW were still there.
    Now that I'm up and running it seems to be working fine.  But, not with much help from Adobe phone support.  They get a D minus.
    Thanks for listening and good luck all.

  • HTML5 audio player has no volume control

    I'm using FireFox 20.0.1 & get no volume control on html5 audio player?
    Is this broken in this version of FireFox?
    Is it due to the plugins/addons conflicting?
    Grateful for help & look forward to reply to get this fixed-thanks

    Volume Control in Firefox 11+
    This is an problem that has cropped up recently. Some of you may have noticed that the volume controls have disappeared from the audio player in Firefox 11+. True, you can mute it, and the volume controls are still controllable via the keyboard’s up and down keys, but the volume slider itself was removed due to two bugs. I assume this will return in the future, but for now, in case you were wondering what happened to them, it’s not your fault. (You can, of course, use the Media API to build your own set of custom controls.)

  • How can i add an HTML5 audio player to iWeb?

    I'm trying to add an HTML5 audio player to my iWeb website.
    I tried using the java script codes from players like speakker, jquery or JMS. Even though I downloaded everything from their websites, when I sent the code to the HTML snipet of iWeb, nothing happened.
    Do you know how I can do this?
    Thanks in advance,
    Brazilian_girl

    Thank you so much for all your info, that really helps.
    I read the instructions for the  speakker player, but they seemed so confusing to me in terms of how to do everything, setp by step in regards to iWeb.
    So, let me make sure I got it:
    1) I go to my FTP site/hosting create a new folder
    2) add the music and the graphic content from the player (images form the buttons, etc...)
    3) get a link from the FTP hosting site with all this stuff
    4) Write the link in the code
    5) paste the code (with the link in it) into the HTML snipet widget of iWeb.
    Is this correct?
    Thank you again, I really appreciate it!

  • Mp3 Files in HTML5 Audio player are working fine in Windows browsers but not playing song in Linux browsers. Please help

    I have build an Audio player with HTML5 and jquery. Its working fine in firefox browser in windows OS.
    But when i run that code on Linux OS browser. It doesn't play the song. Is this a bug or there is problem in my code ? Please help

    On Linux you need proper GStreamer support to play mp3 files with the HTML5 media player.
    *media.gstreamer.enabled = true
    *Bug 794282 - Enable GStreamer in official builds

  • Adding an HTML5 audio player to a web page

    I have a need to add audio player to a few band sites where there is a list of songs, or playlist, and someone can pick a song (or more) and the player will play it.  Since the HTML5 audio tag will work only on one file, the only way I have found to do this is to make a separate page for each sound file and have it use it's own instance of the audio tag.  I have seen many sites that have embedded audio players, but have no idea how they did it.  I do see several 3rd party players on the net that can be used.  Do any of you have any recommendations?
    I am not looking to have music start automatically or on page load.

    Look at Pickle Player.  A commercial player that works in all web devices with MP3 audio or MP4 video and supports playlists.
    http://www.pickleplayer.com/
    Nancy O.

  • Looking for a Fully Functional HTML 5 Audio Player that has a playlist capability

    Does anyone know how to build, find or purchase a full functioning HTML 5 Audio Player that has a playlist. I have found the small single mp3 player but I am looking for a full functioning Audio Player that can load and play several tracks from an album etc. I see beautiful HTML 5 Video players everywhere but it seems no one has figured out how to make an awesome Audio Player that plays multiple songs. Help

    You can try these :
    http://amazingaudioplayer.com/how-to-insert-an-html5-audio-player-to-your-webpage-with-ifr ame/
    http://www.musegrid.com/adobe-muse-widgets/audio-widget
    http://www.muse-themes.com/blogs/news/8285249-embedding-a-mobile-tablet-friendly-audio-pla yer
    Thanks,
    Sanjit

  • Audio Player Widget - Muse

    I have searched everywhere for a way to have a simple audio player on a web page in Muse and the code below when pasted into "Insert HTML" gives us the most basic HTML5 audio player.
    <audio controls>
      <source src="horse.ogg" type="audio/ogg">
      <source src="horse.mp3" type="audio/mpeg">
      Your browser does not support the audio tag.
    </audio>
    This gets a basic audio player on the page and is fine if one doesn't mind the default look of the player. (Above Player shown in Safari)
    Basically any audio player that looks different from this one above is going to have to be coded in some way and that's where the difficulty starts.
    The only place that I have found on the Internet that has really small, minimal and clean audio players is at this site:
    http://www.podsnack.com
    which is set up for heavy duty traffic use of the player as their plans support 25,000 plays per day, which is way more than I need, however they do have 2 or 3 really nice looking tiny audio players that are completely editable color-wise that have a base look like these:
    There are more examples here:
    http://www.podsnack.com/mp3-player-examples/
    I love the clean look of the 2 players above, and all the colors are changeable:
    The main drawback with the podsnack site is that even the most basic plan costs $8 per month with a minimum 1 Year up-front payment of $96.00.
    But, they are hosting the audio files on their servers and providing the skin of the player.
    So far this is the only solution I have found to get a really small, clean visually customizable audio player onto a Muse website.
    If Adobe could come up with a way to create some Audio Player Widgets that include some very small clean ones, I would find that to be a great asset to Muse.
    I think that it would probably be easier for Adobe to design a widget that can play the audio file from the user's hosting server rather than Adobe's servers otherwise Adobe is going to be storing a huge number of audio files belonging to Muse customers.
    The audio file can be placed on the user's hosting server in the same way that files such as pdf's are placed there when the user want to provide a link to download the pdf.
    I am requesting that Adobe create some clean, customizable Audio Player Widgets.
    Now that there are Widgets to place YouTube and Vimeo videos plus Social Media icons on pages, Audio Player Widgets are the next logical step.
    Cheers,
    Chris.

    Well, I kept on looking for reliable ways to place simple HTML5 audio players onto pages and I really didn't come up with any useful solutuions.
    Lots of open source JavaScript players etc, which I highly respect and trully wish I had a load of skill with, but I just found them to be out of reach at this time.
    So, I broke down and coughed up the $96/year fee ($8/month) for the podsnack.com player set up and have found them to be absolutely effiortless to use and completely editable with regards to the look.
    I have an example of some tiny players on a page here:  http://amsondesigns.com/misc-files/podsnack-demo
    And the Podsnack example page is here:  http://www.podsnack.com/mp3-player-examples
    BTW, I don't work for Podsnack!
    If Adobe comes up with some Widgets that effectively provide what Podsnack are doing, then for me that will be the answer.
    Until then I'm going to use Podsnack.
    Cheers,
    Chris.

  • Mobile Safari (iOS) HTML5 Audio 5.1

    Hi there, I've made a HTML5 audio player which serves surround sound files (mp4). Works perfect on Safari desktop, but not on iOS. Is the mobile Safari Version unable to play multichannel files? cheers Henry

    This started happening to me yesterday. Crazy bizarre. Text is almost unreadable.

  • Customize Audio Player (html5)

    Is there a way to modify the appearance of the standard audio player in html5. I think it's too wide, too high and I'd like to change the color, so that it matches the website I use it in. Can it be done by changing css-specifications?

    The HTML5 audio/sound players are styled by the browser in which they are viewed.  IOW, there's nothing you can do to change its appearance except to change browsers.  Height and width of player is controlled by the attributes you set in the HTML code.
    When you need something less generic looking, step up to a commercial/3rd party player.
    Pickle Player
    http://www.pickleplayer.com/
    JW Player
    http://www.longtailvideo.com/jw-player/
    Flowplayer
    http://flowplayer.org/
    Nancy O.

  • Help with mediaelement audio player, iPad resizing, and lytebox.

    I'm a noob but trying to build my own site in iWeb and using Coda to edit code.
    I am a music producer and my website has a page on it that showcases some audio.
    I have 3 issues that after about 30 hours of research and fiddling...I can't for the life of me figure out.
    I am a music producer and my website has a page on it that showcases some audio.
    1. Lytebox - I am using a lytebox to open a page I designed (HTML page in iWeb) that has 2 links on it so the viewer can choose where they want to go. When said lytebox opens and one clicks one of the two links, the linked page will open within the lytebox. I dont want this. I want the lytebox to close and the linked page to navigate normally in a regular web page.
         After much research I have found a code that lytebox posted to be able to do such a thing. They posted this code:
              <a href="javascript:void(0)"
                      onclick="parent.$lb.end()">End Lytebox from my page inside Lytebox</a>
         I have pasted that code everywhere I can think of and it doesn't work. I'm not even sure where to post it (on the first page where the lytebox links from? on      the page that opens in lytebox? on the page lytebox is linking to?)
         Here is the page i'm referring to: http://dallaskruse.com/dallaskruse.com/dallaskruse.html
         The lytebox link is in the Gramophone at the bottom left of the page.
    2. MediaElement Audio Player - I am trying to build a page where I can showcase about 15-20 audio clips (about 20-30) seconds each.  It is very important to me to be able to hear/view this page correctly on multiple browsers along with tablets and mobile phones. Someone recommended medialement.js.
    After HOURS of trying to figure this out, I finaly found a way to add multiple players but not have them load the audio so as to not slow down the web page...and it just was simply not loading on an iPad.
    Here's my issue:
         I couldn't figure out how to design (in code) how to add text (song name, artist info, etc) that was to my liking in the HTML so I added the <audio> player via <HTML> and just added text around it in iWeb manually. Problem: iPad is somehow resizing the layout and by the time you get to the bottom of the page, the <audio> players have moved and are now covering up the text. Its all a big mess.
         Question: can mediaelement.js use a jukebox style playback?
         Here's a link to the page in question: http://dallaskruse.com/dallaskruse.com/arrangements.html
    3. MediaElement Not Playing Back on iPad - I've ran some tests and when I just have 1 <audio> player on the page, it'll play fine on the iPad. But when there's more than 1 player then none of the <audio> players want to work. I'm not sure what's going on but even after about 20+ hours of sitting at my laptop, I'm thinking of searching around for a jukebox that has HTML5 and Flash fallback that looks NICE and easy to modify for beginners.
    If ANYONE has ANY pointers or can help in ANY way ... I'd be forever greatful. Sorry for the long post.

    in iWeb, on the page in question, i've only got 2 HTML snippets (windows). One for the "Vocals" and one for the "Orchestrations".
    In the HTML snippet, I've coded in 12 players for the "Vocals" snippet and 10 in the other snippet for the "Orchestrations" players.
    So, I guess I only have 2 snippets.
    heres the "Vocals" code
    <!DOCTYPE html>
    <html>
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <script src="http://dallaskruse.com/mediaelement/build/jquery.js"></script>
              <script src="http://dallaskruse.com/mediaelement/build/mediaelement-and-player.min.js"></script>
              <link rel="stylesheet" href="http://dallaskruse.com/mediaelement/build/mediaelementplayer.min.css" />
    </head>
    <body>
    <div class="player"><p class="song"> Wade in the Water</p><p class="artist">performed by dallas kruse</p>
    <audio id="player1" src="http://dallaskruse.com/mediaelement/media/Vocals/wadevoxMASTERCLIP.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player2" src="http://dallaskruse.com/mediaelement/media/Vocals/45sMasterClip.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player3" src="http://dallaskruse.com/mediaelement/media/Vocals/4amBlues.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player4" src="http://dallaskruse.com/mediaelement/media/Vocals/sunshinevocalsMASTERCLIP.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player5" src="http://dallaskruse.com/mediaelement/media/Vocals/IllSayNothingVocals.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player6" src="http://dallaskruse.com/mediaelement/media/Vocals/ImOnYourSideVocalsMasterClip.mp 3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player7" src="http://dallaskruse.com/mediaelement/media/Vocals/BenjaminOrchVoxMasterClips.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player8" src="http://dallaskruse.com/mediaelement/media/Vocals/MoonRiverVocalArr_2.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player9" src="http://dallaskruse.com/mediaelement/media/Vocals/justsouthvocalMASTERCLIP1.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player10" src="http://dallaskruse.com/mediaelement/media/Vocals/NewJerusalemVocals.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player11" src="http://dallaskruse.com/mediaelement/media/Vocals/RevolvingVocalsMasterClip.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    <br/>
    <br/>
    <audio id="player12" src="http://dallaskruse.com/mediaelement/media/Vocals/StopThis_Vocal Arr.mp3" type="audio/mp3" controls="controls" preload="none">
    </audio>
    <script>
    $('audio').mediaelementplayer();
    </script>
    </body>
    </html>

  • HTML5 Audeo Player Widget

    I use iWeb 09 for a personal webzine. I have used a simple flash audio player on the site. The ipod and iPad is closed to flash. The audio files I play are brief, somewhat as long as a sample of a song on iTunes. The iTunes app on ipad and ipod has a circular audio player which is small and has a small progress circle within it as well as pause and play controls.
    It must be written in html5.
    I would love to be able to use the player on my site but I am not a programmer. I assume that the player would work both in browsers and Apple mobile devices.
    Can anyone come up with an html snippet duplicating what Apple does that would allow me to vary the source audio for different instances? I like the Apple player because it is small and fits well into my site which uses audio as an adjunct to text. Perhaps a developer might see this as a small project to knock off for a fee.
    Dennis
    Dennis

    The jPlayer is an HTML5 player, not a Flashplayer. It uses a fallback on an swf player for browsers that do not support HTML5. See the demos on this page:
    http://www.happyworm.com/jquery/jplayer/latest/demos.htm
    Note that you can skin it through CSS; you're not stuck with the skins on that demo page.
    All the info you need is available on that site, as well as all the files for download. The developer guide sports much more information than you will need to set the player(s) up, but it's good to have all kinds of information at hand when called for.
    Study the demos. Load the demo htm and css files in your favorite editor(s) and fiddle with the values. Drop the htm files on a browser to see what effect your editing has. When entirely satisfied, copy the contents of the htm file into an html snippet in iWeb, upload the 'js' folder, the 'skin' folder and the audio files (mp3 AND ogg) to the server (or iDisk) and your player is ready to go live.
    There is absolutely no need to worry about the fallback for non-HTML5 browsers. Just make sure the swf file is in the proper folder on the server and all will be automagically well.
    All audio players on my site (http://jmsuijkerbuijk.com/Audio_Samples.html, http://jmsuijkerbuijk.com/On_Choreograffiti.html, http://jmsuijkerbuijk.com/Orchestral_Works.html, etc.) are build on jPlayer. Feel free to study the snippets code on my site.

  • A few questions about audio player in iBooks Author

    1. How can I set the player to a small icon in Landscape layout? It seems that I have to display the player in the Landscape layout and show a big icon (which can't be resized) in the sidebar of the Portrait layout. Is there a way to customize this?
    2. I notice that the audio player in iBooks Author looks different from that in the actual iBook on iPad?
    In iBooks Author it's silver, which looks pretty nice:
    But in actual iBook on iPad it becomes black:
    Is it possible to customize the look of the player?
    3. Another problem about the player in the actual iBook on iPad: When I have multiple players on the same page, only one of them shows the progress bar and time; others just show a play button:
    If I click the one which only has a play button, the whole player will disappear (and won't play the audio clip). I must click the area (which the player is supposed to be in) again, and the player will show up with the progress bar and time (and other players will only have a play button).
    This is very annoying. Does anyone have the same problem?

    assuming you have a MovieClip mc on stage with the registrationpoint in the center:
    stage.addEventListener(MouseEvent.CLICK, zoomHandler);
    var currentZoom:Number = 1;
    var zoomFactor:Number = 1.1;
    var maxZoom:Number = 2;
    function zoomHandler(e:MouseEvent):void{
        var zoomCenter:Point = new Point(e.stageX, e.stageY);
        var mcCenter:Point = new Point(mc.x, mc.y);
        var _xCorrection:Number = mcCenter.x-zoomCenter.x;
        var _yCorrection:Number = mcCenter.y-zoomCenter.y;
    currentZoom +=zoomFactor-1;
    if(currentZoom<maxZoom){
        mc.scaleX +=zoomFactor-1;
        mc.scaleY +=zoomFactor-1;
        mc.x -=_xCorrection*zoomFactor*.5;
        mc.y -=_yCorrection*zoomFactor*.5;
    else{
    trace("maximal zoom level reached");

  • Html5 audio doesn't work for mp3s.

    I can't seem to get tag <audio> working with mp3s on my system(FF 24, Win 7 x64). I tried some wav files, those work ok. But whenever i try to play mp3 file, the html5 player just flashes for a few milliseconds and then disappears. So, is there a bitrate limitation (or any other limitation) for html5 audio tag on mp3s?
    Here's an example of code and one of the mp3 files I am trying to use - http://dindo.wz.cz/jukebox.html .
    (file http://dindo.wz.cz/Galaxy32Star4.mp3 )
    The console (ctrl+shift+k) gives these errors (rough translation):
    [14:07:48.861] Type HTTP "Content-Type" "audio/mpeg" is not supported. Loading of media http://dindo.wz.cz/Galaxy32Star4.mp3 has failed. @ http://dindo.wz.cz/jukebox.html
    [14:07:48.862] Couldn't load any of candidate sources. Loading of media was suspended. @ http://dindo.wz.cz/jukebox.html
    p.s: Even the w3c example doesn't work when i remove the ogg source. (http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all).

    can you replicate the issue, when you create a new profile for testing purposes?: [[Use the Profile Manager to create and remove Firefox profiles]]

  • Audio player with some extra's - can't get player realized

    I try to build an audio player with some extra's like looping between 2 time marks.
    Till now i have an interface that can play back audio files but after that the problems start.
    There is no way i can add functions without creating a {color:#ff0000}NotRealizedError{color}.
    According to the documentation the start() method should realize (etc) the player, but it doesn't in my program and neighter does the method player.realize();.
    Can someone give me a hint to get me on the road again.
    Thanks in advance.
    Here is the complete code which generates the NotRealizedError on the dp.setRate(); method:
    (most of it is older source from a basic player on the internet).
    package dictaplayer;
    import java.awt.*;*
    *import java.awt.event.*;
    import java.io.*;*
    *import java.net.MalformedURLException;*
    *import java.net.URI;*
    *import java.net.URL;*
    *import javax.swing.*;
    import javax.media.*;
    public class DictaPlayer extends JFrame {
    private Player dp;
    private URI uri;
    private URL url;
    private boolean realized = false;
    public DictaPlayer()
    super( "Testing DictaPlayer" );
    JButton openFile = new JButton( "Open file to play" );
    openFile.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent e ) {
    openFile();
    createPlayer();
    getContentPane().add( openFile, BorderLayout.NORTH );
    setSize( 300, 300 );
    setVisible(true);
    private void openFile()
    File file = null;
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(
    JFileChooser.FILES_ONLY );
    int result = fileChooser.showOpenDialog( this );
    // user clicked Cancel button on dialog
    if ( result != JFileChooser.CANCEL_OPTION )
    file = fileChooser.getSelectedFile();
    try {
    uri = file.toURI();
    } catch (SecurityException e) {
    e.printStackTrace();
    // Convert the absolute URI to a URL object
    try {
    url = uri.toURL();
    } catch (IllegalArgumentException e) {
    e.printStackTrace();
    } catch (MalformedURLException e) {
    e.printStackTrace();
    private void createPlayer()
    if ( url == null )
    return;
    removePreviousPlayer();
    try {
    // create a new player and add listener
    dp = Manager.createPlayer( url );
    // blockingRealize();
    dp.addControllerListener( new EventHandler() );
    dp.start(); // start player
    dp.setRate(2);
    catch ( Exception e ){
    JOptionPane.showMessageDialog( this,
    "Invalid file or location", "Error loading file",
    JOptionPane.ERROR_MESSAGE );
    private void removePreviousPlayer()
    if ( dp == null )
    return;
    dp.close();
    Component visual = dp.getVisualComponent();
    Component control = dp.getControlPanelComponent();
    Container c = getContentPane();
    if ( visual != null )
    c.remove( visual );
    if ( control != null )
    c.remove( control );
    private synchronized void blockingRealize() {
    int teller = 1;
    dp.realize();
    while (!realized && teller <= 20) {
    try {
    wait(1000);
    System.out.println("not realized " +teller);+
    +teller++;
    } catch (java.lang.InterruptedException e) {
    System.exit(1);
    public static void main(String args[])
    DictaPlayer app = new DictaPlayer();
    app.addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e )
    System.exit(0);
    // inner class to handler events from media player
    private class EventHandler implements ControllerListener {
    public void controllerUpdate( ControllerEvent e ) {
    if ( e instanceof RealizeCompleteEvent ) {
    Container c = getContentPane();
    // load Visual and Control components if they exist
    Component visualComponent =
    dp.getVisualComponent();
    if ( visualComponent != null )
    c.add( visualComponent, BorderLayout.CENTER );
    Component controlsComponent =
    dp.getControlPanelComponent();
    if (!realized) {
    System.out.println("not realized.");
    if ( controlsComponent != null )
    c.add( controlsComponent, BorderLayout.SOUTH );
    c.doLayout();
    }

    captfoss,
    Thank you for your comment.
    captfoss wrote:
    Start does realize the player, automatically, before it starts it... if it isn't realizing then it also isn't starting.Right, I thought so, but my test was wrong. I now tested it with getState() and I can see it's going from unrealized to realized.
    First off, you can only call setRate on a player that is realized but not started... further, any of the calls like configure, realize, start, stop, etc... are non-blocking calls...so you have to wait for them to finish before you go on to the next step.So you say that when the rate is changed (f.i. by a user in a gui) the program first has to bring player in non-started realized mode (stop + realize), call the setRate() and start the player again (on the exact position it was stopped)?
    The easiest solution would be to use Manager.createRealizedPlayer rather than Manager.createPlayer...Didn't find out yet why, but when i change this (only this), there is no playing.
    Also, ++teller++ is about the most-confused looking code I've ever seen...Just like all the asterisks, i now know that code changes when i toggle between the tabs (rich/plain/preview) in the message box.
    Beyond that, your "blocking realize" function doesn't appear to do anything except suggest you have no business coding anything this advanced. Your boolean value "realize" isn't ever changed, so, I'm not entirely sure what the point of that function is other than to wait 10 seconds.I got this somewhere from the internet. Thought it could help me realize the player, but it didn't (obvious) so i commented it out.
    Slowly I begin to understand the basics of JMF (at least i think so), but I also understand that there are other (Java) ways to build the application I need. Unfortunatly I have to little (hardly any) knowledge of all those (sound) API's (f.i. JLayer) to find my way through them and to decide which is the best for my use (user controled audio playback (at least WAV and MP3) with looping possiblities between 2 marked positions).
    If someone could give me an advise which API (method or whatever you call it) is best to focus on I shurely would appriciate that.

Maybe you are looking for