1 Reply Latest reply on Jan 9, 2014 7:24 PM by resdesign

    Center an html5 audio player on a div

    edwinmerced Level 1

      I have a symbol named AUDIOHOLDER


      I load with:

      var audio1 = sym.$("AUDIOHOLDER1");

      audio1.html('<audio controls> <source src="lesson1/assets/audio/audio1.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>')


      I cant get the standard html5 audio player to center horizontally and vertically in the audio holder


      Any ideas?