Darksat IT Security Forums
March 03, 2026, 09:34:19 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  

Playing mp3s on your website?

Pages: [1] 2 3 4 ... 7
  Print  
Author Topic: Playing mp3s on your website?  (Read 13750 times)
neutron2k
Elite-Member
Master
*****
Posts: 469



View Profile WWW
« on: November 05, 2006, 03:58:55 am »

no that on won't work.

You need code for a specific player class, such as windows media player or real player etc.

Code:
 <OBJECT 
      classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
      codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' type='application/x-oleobject' width="320" height="255"
      standby='Loading Microsoft Windows Media Player components...' id='mediaPlayer'>
          <param name='fileName' value="http://mysite.com/sound.mp3">
          <param name='animationatStart' value='true'>
          <param name='transparentatStart' value='true'>
          <param name='autoStart' value="true">
          <param name='showControls' value="true">
          <param name='loop' value="true">
          <EMBED
        src="http://mysite.com/sound.mp3" width="320" height="255" autostart="true" loop="true" type='application/x-mplayer2'
        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
        id='mediaPlayer' displaysize='4' autosize='-1'
        bgcolor='darkblue' showcontrols="true" showtracker='-1'
        showdisplay='0' showstatusbar='-1' videoborder3d='-1' designtimesp='5311'>
          </EMBED>
          </OBJECT>

try the code above.  Thats what I use on my sites for mp3s and video content. i can explain more over at n2kdesign if your interested in why you have both object and embed tags.
Report Spam   Logged

Pages: [1] 2 3 4 ... 7
  Print  
 
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.024 seconds with 10 queries.