Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member Scottykav's Avatar
    Join Date
    Apr 2005
    Posts
    18
    Member #
    9621
    Hey,

    I want to have a song to play when you enter the website but i dont know how to. Could some one please tell me.

    Cheers,
    Scottykav

  2.  

  3. #2
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    There are various ways to put music on a website most of which will be browser-specific....

    Personally, I would only do it if there was a really compelling reason to do so as unsolicited music on a website could put people off bigtime... giving them the option of clicking on a link to hear the music is generally better, or having an on/off button (with initial setting of "off").

    What sort of site is it that you are building?

    Sean

  4. #3
    Junior Member Scottykav's Avatar
    Join Date
    Apr 2005
    Posts
    18
    Member #
    9621
    Well it is a Music recording label and i would like to promote music etc. It would be good if sum 1 could tell me how to do it.

    Thanks

  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Well, you could use the <embed> tag.
    Code:
    <embed src="path/to/file.mp3" autostart="true" loop="false"></embed>
    That would start the file as soon as the page has finished downloading.

    Is it in a standard?

    <embed ...> is not a part of the HTML 4 or xHTML 1 specifications, but it is still widely supported by modern browsers. Unlike other tags, the attributes used by <EMBED ...> depend on the type of plugin being used (this odd free-attribute concept is why <EMBED ...> has been rejected by the HTML standards makers)

  6. #5
    Junior Member Scottykav's Avatar
    Join Date
    Apr 2005
    Posts
    18
    Member #
    9621
    that works in IE but not FF

  7. #6
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Are you sure?

    http://www.phon.ucl.ac.uk/home/mark/audio/play.htm - a list of different ways to play sound

    Hope this helps

  8. #7
    Junior Member Scottykav's Avatar
    Join Date
    Apr 2005
    Posts
    18
    Member #
    9621
    Well it shows a link to install a plugin but when it looks for quicktime it finds it but it doesnt get it and says its 'Not Avaliable'

  9. #8
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Well do you have quicktime on your machine?


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com