So you will probably want to trap the event when a sound stops and toggle the button back to 'Start Playing'. Otherwise you'll click play, the selected sound will play and finally stop, but the button will still show 'Stop Playing', then when you click it it will toggle to say 'Start Playing' and then you'll have to click it again to start a sample playing again. I added a button for it, but even when a user toggles the audio from the button, the on scroll pause/play JS stops working. I am ok with turning off user video controls but I still need a way to toggle audio on/off. The text between the tags will only be displayed in browsers that do not support the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |