Skip to content

Commit

Permalink
fix(YTPLR): rename variable
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Strick <[email protected]>
  • Loading branch information
PeterStrick authored Oct 26, 2024
1 parent c8c3d68 commit 180ba4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions websites/Y/YTPLR/iframe.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const ytplr_iframe = new iFrame();
ytplr_iframe.on("UpdateData", async () => {
const ytplrIframe = new iFrame();
ytplrIframe.on("UpdateData", async () => {
const videoElement: HTMLVideoElement =
document.querySelector(".video-stream");
if (!videoElement) return;

ytplr_iframe.send({
ytplrIframe.send({
title: document.querySelector<HTMLAnchorElement>("div.ytp-title-text > a")
.textContent,
duration: videoElement.duration,
Expand Down

0 comments on commit 180ba4f

Please sign in to comment.