Help in embeding object

Discussion in 'HTML & Website Design' started by Djshazz, Nov 9, 2009.

  1. #1
    Hello people;

    I had used this in my web page

    <embed style="display:none" src="http://www.skforums.com/welcome.mp3" width=1 height=1 autostart=true align="center" loop="true">
    
    Code (markup):
    This code is working fine with internet explorer but not working in Firefox and help ?

    Thanks in advance. :)
     
    Djshazz, Nov 9, 2009 IP
  2. Freditpl

    Freditpl Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try following:
    
    <div style="display:none">
    	<embed src="http://www.skforums.com/welcome.mp3" width=1 height=1 autostart=true align="center" loop="true">
    </div>	
    
    Code (markup):
     
    Freditpl, Nov 9, 2009 IP
  3. Djshazz

    Djshazz Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Neah ! it didn't worked ... though working on Iexplorer but nothing in firefox
     
    Djshazz, Nov 9, 2009 IP
  4. Deus Ex

    Deus Ex Peon

    Messages:
    531
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=http://www.skforums.com/welcome.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>

    Then you get a nice odeo player added as well.
     
    Deus Ex, Nov 9, 2009 IP
  5. Djshazz

    Djshazz Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the code but what i want is a background music, with no player and auto start like i have make the music just when the page loads but no buddy can pause it stop it adjust the volume and all :) got my point ?
     
    Djshazz, Nov 9, 2009 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    So you want to violate every usability guide and incorporate something that is on almost every "top ten web design mistakes" list out there?

    Auto-playing music with no controls - what is this, 1998? Making an example of how NOT to design a website?

    Well, it is a good way to make sure people close the page as quickly as it opens :D
     
    deathshadow, Nov 10, 2009 IP
  7. Djshazz

    Djshazz Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It depends on what type of music are you giving to users... people like music as it is the fuel for the soul... you can check out my theme on my site

    www.skforums.com

    Its is doing great i had received a lot of comments and for your kind information let me tell you all the comments were positive so if you can't help someone then just don't demotivate some one.
     
    Djshazz, Nov 10, 2009 IP
  8. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #8
    Probably because you used quicktime audio which means about 80% of potential users won't even hear it and will tell the plugin where to shove itself.
     
    deathshadow, Nov 10, 2009 IP
  9. Djshazz

    Djshazz Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    LOL, what are you GOD ? stop predicting things and check out what i did at my site.

    THANKS
     
    Djshazz, Nov 10, 2009 IP