PageSourceSearch

https://cloud.tui.com/static/help-pages/prod-v2//assets/scripts/video.js

js tui.com collected 2026-10-01 08:47:51 UTC 593 bytes, 20 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2  const buttons = document.querySelectorAll(".video-hero__player-button");
3
4  buttons.forEach((button) => {
5    button.addEventListener("click", function () {
6      const videoId = button.id.replace("video-hero__player-button-", "video-hero__player-");
7      const video = document.getElementById(videoId);
8
9      if (video) {
10        if (video.paused) {
11          video.play();
12          button.style.opacity = "0";
13        } else {
14          video.pause();
15          button.style.opacity = "1";
16        }
17      }
18    });
19  });
20});

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.