Using embed tag....how to play an audio file

i want to play a song with windows media player and added this tag to my code...
<embed src="onlytime.mp3" width="132" height="132" ></embed>
but nothing is shown in the page....
i cant understand the plugin thing.....should i copy the content of plug in folder of the media player to internet explorer plugin folder?
plz help...

seems not a good question

Similar Messages

  • How to play an audio file using applicationMusicPlayer ?

    It's easy to play a file using AVAudioPlayer
    NSBundle *mainBundle = [NSBundle mainBundle];
    NSError *error;
    NSURL *tickURL = [NSURL fileURLWithPath:[mainBundle pathForResource:@"tmp" ofType:@"amr"]];
    tickPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:tickURL error:&error];
    [tickPlayer play];
    But how to play a file using applicationMusicPlayer?
    I know setQueueWithItems, but how to prepare the items for it?

    seems not a good question

  • How to play the audio file please help me

    i would like to play audio files such wav files, au files etc
    I would like to know how to play audio file easily in Applet and
    applications
    Thank you

    import sun.audio.*; //import the sun.audio package
    import java.io.*;
    //** add this into your application code as appropriate
    // Open an input stream to the audio file.
    InputStream in = new FileInputStream(Filename);
    // Create an AudioStream object from the input stream.
    AudioStream as = new AudioStream(in);
    // Use the static class member "player" from class AudioPlayer to play
    // clip.
    AudioPlayer.player.start(as);
    // Similarly, to stop the audio.
    AudioPlayer.player.stop(as);

  • How to play an audio file from the begin.........

    Hello to everybody,
    I am working on a application that is supposed to manage audio file. At the moment I 'm using the SourceDataLine instead of the Clip. But I've got a problem. When the user pushes the Stop button I want that if he pushes Play again the track starts from the begin. I've used the drain() and flush() method but it doesn't work because the track resumes from the point when has been interrupted. Here part of the code:
    @Override
    public void run()
    try
    if(dataline!=null)
    dataline.open(audio_format);
    dataline.start();
    int i=0;
    while((i=audio_input_stream.read(buffer, 0, buffer.length))!=-1 && flag==false)
    if(i>0)
    dataline.write(buffer, 0, i);
    dataline.drain();
    dataline.stop();
    dataline.flush();
    dataline=null;
    dataline.close();
    And also I'd like to know how to navigate through the audio file by a slider or something like that, so how much time is passed.
    Thank you in advance.
    Maurizio Di Vitto

    mauriziodvt wrote:
    I've tried to use it but I found out that if I use quite large wav files an exception is thrown, Aha! I expected as much. That is why I developed BigClip.
    ..so I thought to change to SourceDataLine even if Clip has the right stuff to manage my audio files. So what do you suggest? Is there a way to avoid such problem? I mean, how can I be sure that I'm able to use every wav files? Not every WAV file can be opened using SourceDataLine, but if SDL can open it, so can BigClip.

  • How to play an audio file when a sprite is clicked

    I am designing a Director movie in order to learn how to use the program. My question is how can I make a small audio file play when the user clicks on a sprite? I believe it is done via a small script. My second question is similar. How can I make the movie play a sound when the cursor hoovers upon a sprite? Can you help, please? Thanks in advance.

    Hi Ibrahim,
    Rob has pointed you to the Lingo for playing a sound. There is a behavior in the Library Palette that makes this very easy without needing to write a script yourself. In the Media > Sound category, there is a 'Play Sound' behavior. You can click and drag this behavior onto a sprite and then in the Parameters dialog, you can choose the sound to play, the channel in which it should play, the event to activate the sound, and if you want the sound to loop.
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au

  • How to play .mht audio file

    My professor is presenting her notes in an .mht audio file.  I have downloaded google chrome, firefox to no avail.
    Any suggestions?

    import sun.audio.*; //import the sun.audio package
    import java.io.*;
    //** add this into your application code as appropriate
    // Open an input stream to the audio file.
    InputStream in = new FileInputStream(Filename);
    // Create an AudioStream object from the input stream.
    AudioStream as = new AudioStream(in);
    // Use the static class member "player" from class AudioPlayer to play
    // clip.
    AudioPlayer.player.start(as);
    // Similarly, to stop the audio.
    AudioPlayer.player.stop(as);

  • How to play an audio file through a button?

    I have a form in which I have a button (Command object). When the user clicks on this command button it is supposed to play a wav file. The wav is residing in my hard disk at "C:\tada.wav"
    I have tried to include the following code in the commandAction() method, which technically is the right way of performing this operation:
    But I get a warning when I compile saying that this operation should be performed in a seperate thread as opposed to commandAction().
    if(c == cmdPlay)
    try     
    String wav = "file:///c:/tada.wav";
    Player p = Manager.createPlayer(wav);
    p.start();
    catch (IOException x)
    x.printStackTrace();
    } catch (MediaException x) {
    x.printStackTrace();
    Can anyone please tell me how to implement this solution properly or just suggest a new way of creating a "play" button in my form? Urgent HELP NEEDED PLEASE!
    THANKS.

    Hi Ibrahim,
    Rob has pointed you to the Lingo for playing a sound. There is a behavior in the Library Palette that makes this very easy without needing to write a script yourself. In the Media > Sound category, there is a 'Play Sound' behavior. You can click and drag this behavior onto a sprite and then in the Parameters dialog, you can choose the sound to play, the channel in which it should play, the event to activate the sound, and if you want the sound to loop.
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au

  • How to play mp4 audio files as video on my iPod Touch?

    I know you are all thinking that this is a stupid question based on the topic, but I have videos for some reason that are in the form of mp4 audio, but they are video when I play them on my computer. I can open these videos (mp4 audio instead of mp4 video) using Windows Media Player and it's not just audio, there is also video. However, whenever I try to sync it to my iPod, it shows up in my music section instead of videos. If i play the video under music, all I see is the white iTunes background, no video. Is there anyway for me to set these files to be recognized as video and store it under my movies category?
    Thanks.

    First, go into Get Info and change the Media Kind on the Options tab to tell iTunes that this is a video. Next, you need to sync this item from the Video tab on your iPod detail in iTunes (i.e. don't sync it as if it was a Music item). If you sync all video content then this will happen automatically once you change the Media Kind. But if you only sync part of your video library, make sure you include this video in the sync selection.
    If you still have problems, you may need to convert the video for iPod playback, even if it plays fine in iTunes. If that's the case, right-click on the video and you'll see an option to convert for iPod use, which will make a copy (so make sure you know which version to sync to the iPod, or simply delete the original).

  • How to play other audio files in Podcasts app?

    Hi all. Whenever I add audiobooks or recordings of radio shows to my iPhone, they go into the Music app. However, this doesn't have a placeholder function (that is, it doesn't remember at which you point you paused the file) or a sleep timer like the Podcasts app does. I find this really annoying, especially the lack of placeholder. Is there any way to get these things to play from Podcasts instead? I've searched on this but can't find any other questions about it. Surely other people find this irritating as well? Hoping there is some solution, maybe using a third party app?

    Close Windows Media Player. Make sure you know where the song files are on your hard drive. Use the iTunes command File > Add File (or Folder) to Library.
    If they are MP3s they will add directly to your iTunes library. If they are non-protected WMA files, they will be automatically converted and added. If they are something else, "measures" must be taken...
    Let is know how this works!

  • How we will get parameters when we uses EMBED tags

    hi ,
    how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine.
    And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the parameter.
    How we will give <param tag in the case of EMBED tag. Im sending my snippet which is for only netscape.
    <EMBED type="application/x-java-applet;version=1.2.2"
    width="800" height="1200" code="myclass.class" codebase='mycodebase'
    pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No JDK 1.2 support for APPLET--please download the plugin.
    </NOEMBED>
    <param name='parameter' value='value'>
    </EMBED>
    If anybody helps, very much thankful to them
    thanks in advance

    Parameters should be inside the EMBED tag, like this :
    <EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = "Editor.class" WIDTH = 350 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"
    TOOLBAR="true"
    TOOLBAR.FLOAT="true"
    TOOLBAR.ALIGN="east"
    >
    Matthieu

  • Is it possible to play an audio file out of labview (using myDAQ)?

    Hi all,
    I am using a myDAQ (first time). I am trying to play an audio file at a certain time in my VI.
    All the examples I have seen use the audio in and then play out of the audio out port. Is it not possible to simply find the file location and then play it out of the audio out under the given conditions in the VI or even import the sound? I am not trying to play large files or large quantities such as songs. I only want a congratulatory sound when the task is complete (2/3s).
    Any help would be is appreciated (even to say it isn't possible!)
    Cheers 
    Solved!
    Go to Solution.

    Why no just play a WAV file? Use Play Sound File.vi as shown here.
    Richard

  • How do I play an audio file as a soundtrack for entire keynot

    How do I play an audio file as a soundtrack for entire keynote?

    https://developer.apple.com/mac/library/samplecode/PlayFile/Introduction/Intro.h tml
    Docs are your friend....mac os has it's own just like iPhone.

  • How to trigger an audio file using midi...

    I'm trying to use the Apple AU Audio File Player to play a 10 second track that's an intro to one of our songs, but the only things that show up under the Parameter Mappings for that channel (the one that the AU Audio File Player is assigned to) are MIDI notes, and none of the midi notes trigger playing the audio file. Is there something I'm missing? Is there any way in Main Stage to play an audio file using a midi trigger?

    seems not a good question

  • How do you get audio files to loop instead of playing just once.

    how do you get audio file to loop instead of playing just once.
    Thanks

    This forum is specifically meant  for Edge Inspect issues. Could you please let us know the product your query is related to. We will redirect you to the correct forum.

  • How to add an audio file to a link

    I am working on a project using IWeb and I am trying to figure out if it is possible and then, if it is how to add an audio file to a link. I would really be glad of your help as I am having problems meeting the requirements of the project if I don't make it work.
    Also, is it possible when having added a movie clip from quick time player to have the clip start as soon as the page is "opening", that is without pressing the play button?
    I am waiting in great suspense to see if anybody can help me out. If you have the answers to my questions, please send me an email at [email protected] - thank you so much :o)

    Hi Maiken
    Welcome to the discussion forums.
    All you need is open iWeb, select text or image, open inspector, go to link, check the "enable as a hyperlink" box, in "link to" there's a teardown menu where you select "a file" and select the file you want to link to.
    If you want to have it downloading look at [this|http://alyeska.altervista.org/en/iWeb_Downloads.html]
    For the second question:
    select the movie file in iWeb go to inspector, then to the last icon (showing the quicktime logo) and check the box that say "Autoplay".
    Regards,
    Cédric

Maybe you are looking for

  • Windows 8 Error Code 27850

    Hi, Getting the error code 27850, have managed to find fixes for windows 7 but when trying to apply them it would seem that windows 8 doesn't have the same registry?? Have tried manualling removing every bit of Cisco off the pc but as soon as it gets

  • Mac Pro Freeze in Win - Kernel Panic in MacOSX

    Hello world, I'm spanish, sorry with my english. I've a Mac Pro 1.1 with all updates in my macosx 10.4.8. If I use Final Cut with a Render then... my system show me a kernel panic or if I play with a game (example: Oblivion for Win)... my mac pro shu

  • SSRS report mail subsription is failing.

    Hi All, I have one SSRS report which is deployed in my local report server. I need to activate email subscription for the same. I have given my outlook email address and SMTP server which is copied from outlook settings to Report configuration manage

  • PO output for delivery cost vendor

    Hi All Is it possible to provide purchase order output for the delivery costs to the delivery vendor.

  • Disk Partitioning / Logical Drives vs. One Key Recovery Functionality

    I just purchased a Windows 7 Lenovo H530 and need to know if I can shrink the C: drive and add an extended partition with logical volumes without disabling OKR / Rescue System 3.0 functionality. My 1 TB HDD: 200 MB     SYSTEM_DRV (Primary Partition)