vpfjsphp:handling_media_pauses
(...) var song_playing = document.querySelector("#player"); if (song_playing") { if (song_playing.paused) { songPlaying.play(); e.target.id = "playing"; } else { songPlaying.play(); e.target.id = "paused"; } } else { (...) // previous code }
vpfjsphp/handling_media_pauses.txt · Last modified: 2016/03/06 21:22 by leo