PageSourceSearch

https://www.rijschoolsoftware.nl/assets/controllers/video_controll…9a6f57d6c8d5b92fb6255455242864120b19bc5e.js

js rijschoolsoftware.nl collected 2026-10-02 15:23:16 UTC 680 bytes, 30 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = [ "video", "play", "pause", "controls" ]
5
6  play() {
7    this.videoTarget.play()
8  }
9
10  pause() {
11    this.videoTarget.pause()
12  }
13
14  rewind() {
15    this.videoTarget.currentTime = 0
16  }
17
18  toggleButtons() {
19    if (this.videoTarget.paused) {
20      this.playTarget.classList.remove("hidden")
21      this.pauseTarget.classList.add("hidden")
22      this.controlsTarget.classList.remove("opacity-0")
23    } else {
24      this.playTarget.classList.add("hidden")
25      this.pauseTarget.classList.remove("hidden")
26      this.controlsTarget.classList.add("opacity-0")
27    }
28  }
29
30};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.