Results 1 to 4 of 4

Thread: Audio in website

  1. #1
    Join Date
    Oct 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Audio in website

    Hi,

    I am creating a website where I have to embed audios. I am not able to find a convenient way in which audios can be embedded. I have found out a website called soundcloud.com wherein we can upload the audio clips and then copy the widgets of soundcloud in our websites. I did so. I copied the embed code of the widget:
    Code:
    <object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F8210892"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F8210892" type="application/x-shockwave-flash" width="100%"></embed> </object>  <span><a href="http://soundcloud.com/jaskiran/sacha-sirjanhara">Sacha Sirjanhara</a> by <a href="http://soundcloud.com/jaskiran">Jaskiran</a></span>
    and pasted in the html file (under td tag). It works fine in Firefox 3.6.10 but is not working in IE 7.
    Please suggest me a way in which I can embed the audio and vedio in my website. I can use my server space also for uploading.

    Thanks.
    Last edited by jscheuer1; 12-24-2010 at 06:40 PM. Reason: remove commercial hotlink

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are other things like soundcloud you can use, some free. However, the code in your post works fine in IE 8 in IE 7 mode, except if I put it in a td in a table. It still works, but I only see the play button:

    Code:
    <table>
    <tr>
    <td>code from your post here</td>
    </tr>
    </table>
    Unless I add an explicit width to the table:

    Code:
    <table width="80%">
    <tr>
    <td>code from your post here</td>
    </tr>
    </table>
    Then everything's fine again. Your results may vary as there may be other factors involved in your layout and/or elsewhere that influence this.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Please explain more (the music you are trying to play is not hosted properly) if you have the file of the music please tell me and i could host it on my site if not yours

  4. #4
    Join Date
    Jan 2011
    Location
    Beograd
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    you could try SoundManager2 - there's tons of demos on their site:
    http://www.schillmania.com/projects/soundmanager2/

    it's a really powerful piece of javascript, you can attach sounds on any event imaginable, create playlists etc.
    you can store mp3 files on you server

Bookmarks

Posting Permissions

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