Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1523 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Conflits scripts player mp3

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Conflits scripts player mp3

n°2120151
bitch
Posté le 08-01-2012 à 17:46:12  profilanswer
 

Bonjour à tous et merci d'avance pour votre aide.
Je ne suis pas un pro de la programmation HTML mais mon cousin m'ayant construit l'osature de mon site, j'apprend gentillement...
Voici mon problème:
J'ai une page destinée à inclure de la musique. Pour ce faire, j'utilise un freeware comprenant du javascript qui me sert de player mp3. Tout fonctionne pour le premier artiste que j'inclue dans ma page.
Cependant, je souhaite allouer à chaque artistes son propre player mp3 et ce sur la même page.
Dans mon index php, je recopie l'inclusion du player mp3 ainsi que les photos et textes d'un second artiste...tout s'affiche sauf le second player mp3 qui me dit: "No flash player" alors que le premier s'affiche normalement et peu lire de la musique.
 
Pourriez vous m'aider à comprendre ce qui cause ce conflit?
 
Merci à tous!

mood
Publicité
Posté le 08-01-2012 à 17:46:12  profilanswer
 

n°2120154
bitch
Posté le 08-01-2012 à 18:02:23  profilanswer
 

[cpp]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
 
 <head>
 
 
  <title>Sunshine Production - Music</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link href="../general.css" rel="stylesheet" type="text/css" media="screen" title="Design" />
  <link href="musique.css" rel="stylesheet" type="text/css" />
  <script language="javascript" type="text/javascript" src="http://localhost/site_local/musique/flashmp3player/swfobject.js" ></script>
 
 
 </head>
 
   
 
 
 
 <body>
 
 
  <div id="en_tete" style="text-align: center">
 
   <div id="logo" style="margin-top: 27px;">
    <img src="../images/logo2.jpg">
    </img>
   </div>
   
   <div  id="fond_transparent">
   </div>
 
  </div>
   
 
  <div id="menu">
   <div class="element_menu">
    <?php mysql_connect("localhost", "root", "" );
     mysql_select_db("sunshine" ); ?>
    <table class="tableau_menu">
    <?php $reponse = mysql_query ("SELECT rubrique,lien, image FROM menu" ) or die (mysql_error());
     while ($donnees = mysql_fetch_array($reponse))
     { ?>
   <tr>
    <td>  
    <?php echo '<a href="'.$donnees['lien'].'"><img src="'.$donnees['image'].'"> </img></a>'; ?>
    </td>
   </tr> <?php
    } ?>
    </table>
    <?php mysql_close(); ?>        
   </div>
  </div>
 
   
  <div id="droite"> <!-- partie de droite fixée en largeur !-->  
  </div>
 
 
  <div id="corps" style="padding-bottom: 25px; padding-top: 0px; padding-left: 0px; padding-right: 0px;">
 
   
   <div  class="image_titre" style="text-align: center; margin-top:0px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px;"><img src="../images/page_musique.jpg" alt="Cours-métrages" />
   </div>
 
   <table align="center" style="padding: 0px; margin-top:40px; margin-left:25px; margin-right:25px;">
   <!--<table  style="background-color: black; margin-bottom: 25px; margin-top: 40px; margin-left: 25px; margin-right: 25px; border: solid 2px white; filter: alpha(opacity=80);">-->
 
     
    <tr>
       
     <td class="text_general" style="background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 0px; filter: alpha(opacity=90);">
     
      <img src="images/vignette_ganjak.JPG" style="image-align: center; padding: 0px; margin-left: 0px; margin-right: 0px; margin-top: 2px; margin-bottom: 0px; filter: alpha(opacity=100);"/>
     
     </td>
     
     <td class="text_general" style="background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding-top: 25px; padding-bottom: 25px; padding-left: 25px; padding-right: 25px; border: solid 2px white; filter: alpha(opacity=80);">
 
      <!-- Div that contains player. -->
      <div id="player" class="text_general" style="padding: 0px; margin-left: 0px; margin-right: 0px;">
      <h1>No flash player!</h1>
      <p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>
      </div>
 
      <!-- Script that embeds player. -->
      <script language="javascript" type="text/javascript">
      var so = new SWFObject("http://localhost/site_local/musique/flashmp3player/flashmp3player.swf", "player", "380", "104", "9" ); // Location of swf file. You can change player width and height here (using pixels or percents).
      so.addParam("quality","high" );
      so.addVariable("content_path","mp3" ); // Location of a folder with mp3 files (relative to php script).
      so.addVariable("color_path","http://localhost/site_local/musique/flashmp3player/default.xml" ); // Location of xml file with color settings.
      so.addVariable("script_path","http://localhost/site_local/musique/flashmp3player/flashmp3player.php" ); // Location of php script.
      so.write("player" );
      </script>
       
     </td>
       
    </tr>
     
    <tr>
     
     <td colspan="2">
      <p class="text_general" style="text-align: left; background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 25px; border: solid 2px white; filter: alpha(opacity=80);">
      GANJAK</br></br>
      Music Producer</br></br>
      Born at the beginning of the 80’s, in the east of France, he always loved music. </br>
      After listening to many different genres, he founds his musical identity in Hip-Hop. He started to learn scratching in 2001 and a couple of months later he did the acquisition of a MPC to make his own beats.</br>
      Since 2005, he has collaborated with Independent Hip-Hop artists from France, Switzerland, Spain, Brazil, USA and the UK as a beats producer of their albums.</br>
      He signed to Redphone Records in March 2010, and has worked with label mates, along with other notible artists, including Canibus, Sadat X, Sabac Red, Lord Lhus, Esoteric, Reef and more. </br>
      In March 2011, Ganjak along with US emcee Mic Daily, released Enhanced Mechanics. </br>
      Recently, he has started to do sound design for short-movies and websites.</br></br></br>
      FREE ALBUMS availables for download just by clicking on the covers.  
      </p>
     </td>  
       
    </tr>
     
     
    <tr id="conteneurs" style="padding-bottom: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px;">
     
     <td id="texteopaques" style="padding: 0px"  style="text-align: left; background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 25px; border: solid 2px white; filter: alpha(opacity=80);" >  
       
      <a href="welcome_to_ganjak_s_land.zip">
      <img src="images/ganjak_land.JPG" class="sansopacityy" style="image-align: center; padding: 0px; margin-left: 95px; margin-right: 0px; margin-top: 2px; margin-bottom: 0px; filter: alpha(opacity=90);"/>
      </a>
      </br></br>
       
      <a href="welcome_to_ganjak_s_land.zip" style="color: rgb(255,255,255); margin-left: 85px;" <font color="#FCFEFD">Welcome to Ganjak's Land</a>
       
     </td>
       
    </tr>
     
     
    <tr id="conteneurs" style="padding-bottom: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px;">
     
     <td id="texteopaques" style="padding: 0px"  style="text-align: left; background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 25px; border: solid 2px white; filter: alpha(opacity=80);" >  
       
      <a href="weapons_of_mass_awareness.zip">
      <img src="images/weapons_of_mass.JPG" class="sansopacityy" style="image-align: center; padding: 0px; margin-left: 365px; margin-right: 0px; margin-top: 2px; margin-bottom: 0px; filter: alpha(opacity=90);"/>
      </a>
      </br></br>
       
      <a href="weapons_of_mass_awareness.zip" style="color: rgb(255,255,255); margin-left: 347px;" <font color="#FCFEFD">Weapons of Mass Awareness</a>
       
     </td>
       
    </tr>
     
   
    <div  id="fondtranslucides" style="margin-bottom: 40px">
   
    </div>
   
   
    <tr>
       
     <td class="text_general" style="background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 0px; filter: alpha(opacity=90);">
     
      <img src="images/vignette_ganjak.JPG" style="image-align: center; padding: 0px; margin-left: 0px; margin-right: 0px; margin-top: 2px; margin-bottom: 0px; filter: alpha(opacity=100);"/>
     </td>
     
     <td class="text_general" style="background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding-top: 25px; padding-bottom: 25px; padding-left: 25px; padding-right: 25px; border: solid 2px white; filter: alpha(opacity=80);">
 
      <!-- Div that contains player. -->
      <div id="player" class="text_general" style="padding: 0px; margin-left: 0px; margin-right: 0px;">
      <h1>No flash player!</h1>
      <p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>
      </div>
 
      <!-- Script that embeds player. -->
      <script language="javascript" type="text/javascript">
      var so = new SWFObject("http://localhost/site_local/musique/flashmp3player/flashmp3player.swf", "player", "380", "104", "9" ); // Location of swf file. You can change player width and height here (using pixels or percents).
      so.addParam("quality","high" );
      so.addVariable("content_path","mp3" ); // Location of a folder with mp3 files (relative to php script).
      so.addVariable("color_path","http://localhost/site_local/musique/flashmp3player/default.xml" ); // Location of xml file with color settings.
      so.addVariable("script_path","http://localhost/site_local/musique/flashmp3player/flashmp3player.php" ); // Location of php script.
      so.write("player" );
      </script>
       
     </td>
       
    </tr>
     
    <tr>
     
     <td colspan="2">
      <p class="text_general" style="text-align: left; background-color: black; margin-bottom: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; padding: 25px; border: solid 2px white; filter: alpha(opacity=80);">
      GANJAK</br></br>
      Music Producer</br></br>
      Born at the beginning of the 80’s, in the east of France, he always loved music. </br>
      After listening to many different genres, he founds his musical identity in Hip-Hop. He started to learn scratching in 2001 and a couple of months later he did the acquisition of a MPC to make his own beats.</br>
      Since 2005, he has collaborated with Independent Hip-Hop artists from France, Switzerland, Spain, Brazil, USA and the UK as a beats producer of their albums.</br>
      He signed to Redphone Records in March 2010, and has worked with label mates, along with other notible artists, including Canibus, Sadat X, Sabac Red, Lord Lhus, Esoteric, Reef and more. </br>
      In March 2011, Ganjak along with US emcee Mic Daily, released Enhanced Mechanics. </br>
      Recently, he has started to do sound design for short-movies and websites.</br></br></br>
      FREE ALBUMS availables for download just by clicking on the covers.  
      </p>
     </td>  
       
    </tr>
     
     
 
   
   </table>
 
 
  </div>
 
 
  <div id="pied_de_page" style="margin-top:200px">
   
   <p>Copyright "Sunshine Production" 2007, all rights reserved <br/>
   Webmaster : Florent JITIAUX / Powered by <a href="http://www.flashmp3player.org" style="color: rgb(255,255,255)" <font color="#FCFEFD">Flash MP3 Player</a>
   </p>
 
  </div>
 
 
 </body>
 
 
</html>
 
 
 
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Conflits scripts player mp3

 

Sujets relatifs
DLL pour analyser les basses dans un mp3[KSH] Scripts en série & pb de path
Deux scripts similaires et un seul qui fonctionneQui peut faire Modif sur player musique (flash) ?
Maintenir un MP3 lancé pendant une session utilisateurJouer MP3 en DirectSound
Problème d'affichage du player soundclick avec IEflash as2 potard volume + liste track mp3
mettre un lecteur mp3 sur blogspot[Résolu] Problème syntaxe IE sur lien vers une page avec lecteur mp3
Plus de sujets relatifs à : Conflits scripts player mp3


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR