Streaming live at 10am (PST)

How can I paste condition else/if?


#1

Here is my public share link: LINK
(how to access public share link)


#2

example:

pauseButton.addEventListener("click", function() {
vid.classList.toggle("stopfade");
if (vid.paused) {
vid.play();
pauseButton.innerHTML = "Pause";
} else {
vid.pause();
pauseButton.innerHTML = "Paused";
}
})


#3

#4

#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.