Skip to content

Commit

Permalink
feat: add autoplay to player slider
Browse files Browse the repository at this point in the history
  • Loading branch information
MIU-cz committed Jun 30, 2024
1 parent 9196f6f commit e3db193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Yandex/src/js/players.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function PlayerPrev() {

playerNext.addEventListener("click", PlayerNext);
playerPrev.addEventListener("click", PlayerPrev);
setInterval(PlayerNext, 4500);

window.addEventListener("load", updatePlayers);
window.addEventListener("resize", function () {
Expand Down

0 comments on commit e3db193

Please sign in to comment.