30daysJS-11 - Custom Video Player

看了眼要做什么就自己先手搓了一遍： const player = document . querySelector ( ".player" ); const video = player . querySelector ( ".viewer" ); const progress = player . querySelector ( ".progress" ); const progressBar = player . querySelector ( ".progress__filled" ); const toggle = player . querySelector ( ".toggle" ); const skipButtons = player . querySelectorAll ( "[data-skip]" ); const ranges = player .…