Help me please to edit that code

Discussion in 'PHP' started by crazy.works, Sep 20, 2008.

  1. #1
    Hello, I wanna make a music libraries script, the users and the admin able to
    upload mp3 and real player songs with the script and play the all songs easly
    so i got that code , it plays the mp3 songs only ,beside it auto download the song

    so please help me to edit it or provide me with similar code to play the both of
    real player and the mp3 songs without auto downloading the song


    <object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/ en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" <?php if ($filewidth == '0' || $fileheight == '0') { echo 'AutoSize="true"'; } else { echo 'width="'.$filewidth.'" height="'.$fileheight.'"'; } ?>>
    <param name="fileName" value="<?php echo $fileurl; ?>">
    <param name="animationatStart" value="true">
    <param name="transparentatStart" value="true">
    <param name="autoStart" value="true">
    <param name="showControls" value="true">
    <param name="Volume" value="-20">
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="<?php echo $fileurl; ?>" name="MediaPlayer1" autostart="1" showcontrols="1" volume="-20" <?php if ($filewidth == '0' || $fileheight == '0') { echo 'AutoSize="true"'; } else { echo 'width="'.$filewidth.'" height="'.$fileheight.'"'; } ?>>
    </object>
     
    crazy.works, Sep 20, 2008 IP
  2. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change the <param name="autoStart" value="true"> to <param name="autoStart" value="false">
     
    Shoro, Sep 20, 2008 IP
  3. crazy.works

    crazy.works Peon

    Messages:
    304
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it doesn't work and the auto download still running :-s

    please help me
     
    crazy.works, Sep 20, 2008 IP
  4. Digivillage

    Digivillage Banned

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    PM me, I can re-program for you for a small cost.
     
    Digivillage, Sep 21, 2008 IP
  5. crazy.works

    crazy.works Peon

    Messages:
    304
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well , iam a php programmer too but iam in the php for 2 monthes only
    so i didnt thought about the programmers like me who haven't enough experience will heard talk like that when they gonna come here to ask for help to learn more and being better in the php
     
    crazy.works, Sep 21, 2008 IP