WordPress.org

Ready to get started?Download WordPress

Forums

Audio Player Autoplay just load once (1 post)

  1. LulaViolet
    Member
    Posted 1 year ago #

    Hello dear Wp-Fellows,

    I got the audioplayer 'audio-player-oogiechetos' in my header.php file and asked him to autoplay. Everything works fine, like it should work, but when I click throught the sites of my website the player reloads itself all the time. Thats pretty ennoying. How can I program that, that it loads itself only when I first start the website? Is that possible or does the player refreshes itself all the time, when header.php refreshes itself?

    Here is my code

    <?php if (function_exists("insert_audio_player")) {
          insert_audio_player("[audio:http://localhost/etc/wp-content/uploads/music.mp3|autostart=yes]");  
    
        } ?>

    Thank you in advance for your helpfull advices :)
    Lula

Topic Closed

This topic has been closed to new replies.

About this Topic