Announcement

Collapse
No announcement yet.

Play MP3

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Play MP3

    anyone can help, how can I play the music automatically? where I had to make the code?
    I've made like this but the mp3 file is not detected?

    sc_select(myset,"select member, kode, produk, idpel from transaksi where ISPROCESSED = '0' ");
    $cetak = {myset}->RecordCount();

    if($cetak != 0){ ?>

    <!DOCTYPE html>
    <html>
    <body>

    <audio controls autoplay>
    <source src="bell.ogg" type="audio/ogg">
    <source src="bell.mp3" type="audio/mpeg">
    </audio>

    </body>
    </html>

    <?php
    }
Working...
X