• sauve htlm zic

    <p>&nbsp; &nbsp;</p>

    <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>

    <div class="container-fluid row ">

    <div class="col-md-4" style="color: #ffff00;"><span style="font-size: 12pt;"><span style="font-size: 12pt;"><select id="liste" onclick="joue(this.value);" name="liste">

    <option value="http://ekladata.com/zdanZUnjYdM2gi863iNS5aIJJOM/inkapa-puri-an-raimy-salazar-and-carlos-salazar-native-song-4199449032260105276.mp3">Instrumental 1</option>

    <option value="http://ekladata.com/fQNzFnpjljc6kktXzdcXtXB-NJs/fernando-lopez-balada-para-uma-saudade.mp3Fernardo">Instrumental 2</option>

    <option value="http://ekladata.com/ZjHnlcnb9gJTsSeGELNH06uiQ38/chanson-damour-instrumental.mp3">Instrumental 3</option>

    <option value="http://ekladata.com/vhgzVAAml_Q6ETv7QLXFUQww5ak/the-sound-of-silence-sonidos-del-silencio-panflute-and-quenacho-wuauquikuna-2816000021419542530.mp3">Instrumental 4</option>

    <option value="http://ekladata.com/jS_Hli2Mdb5T_cKoTPC2OKiEpNk/4-beautiful-soundtracks-relaxing-piano-10min-FN-GBHMByoK-gucZPaP6.mp3">Instrumental 5</option>

    <option value="http://ekladata.com/zdanZUnjYdM2gi863iNS5aIJJOM/inkapa-puri-an-raimy-salazar-and-carlos-salazar-native-song-4199449032260105276.mp3">Instrumental 6</option>

    <option value="http://ekladata.com/p7tQvvb-UQBdT5HTNzdaw2vo0hw/michel-legrand-the-windmills-of-your-mind-saxophone-8741012239688736290.mp3">Instrumental 7</option>

    </select></span></span>

    <div id="Divlecteur" class="col-md-6">&nbsp;</div>

    </div>

    <p>

    <script>// <![CDATA[

    var lecteur = document.createElement("AUDIO");

        lecteur.id="mysong";

        lecteur.src =document.getElementById("liste").value;  

        document.getElementById('Divlecteur').appendChild(lecteur);

        var morceau = document.getElementById("mysong");

        morceau.controls='true';

        morceau.autoplay = true;

        morceau.load();

         

        morceau.onended = function() {

            var nbr=document.getElementById("liste").length;

            chanson= Math.floor(Math.random() * (nbr));

     

            while (document.getElementById("mysong").src==document.getElementById("liste")[chanson].value)

             {chanson= Math.floor(Math.random() * (nbr));}

            document.getElementById("liste").selectedIndex = chanson;

            document.getElementById("mysong").src=document.getElementById("liste")[chanson].value;

            document.getElementById("mysong").autoplay = true;  

            document.getElementById("mysong").load();

        }

         

         function joue(musique) {

          document.getElementById("mysong").src=musique;

          document.getElementById("mysong").autoplay = true;

          document.getElementById("mysong").load();

        }

    // ]]></script>

    </p>

    <p style="text-align: center;">&nbsp;</p>

    <p style="text-align: center;">&nbsp;</p>

    </div>