From 764bc104481782ee161898cc6df89675ded20f7d Mon Sep 17 00:00:00 2001 From: Wesley Luyten Date: Thu, 19 Dec 2024 14:01:49 -0600 Subject: [PATCH] chore: remove old comments --- packages/vimeo-video-element/vimeo-video-element.js | 3 --- packages/youtube-video-element/youtube-video-element.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/vimeo-video-element/vimeo-video-element.js b/packages/vimeo-video-element/vimeo-video-element.js index 70e01be..30253b6 100644 --- a/packages/vimeo-video-element/vimeo-video-element.js +++ b/packages/vimeo-video-element/vimeo-video-element.js @@ -318,9 +318,6 @@ class VimeoVideoElement extends (globalThis.HTMLElement ?? class {}) { return this.#videoHeight; } - // If the getter from SuperVideoElement is overridden, it's required to define - // the setter again too unless it's a read only property! It's a JS thing. - get src() { return this.getAttribute('src'); } diff --git a/packages/youtube-video-element/youtube-video-element.js b/packages/youtube-video-element/youtube-video-element.js index b2ad092..1ed0bc7 100644 --- a/packages/youtube-video-element/youtube-video-element.js +++ b/packages/youtube-video-element/youtube-video-element.js @@ -267,9 +267,6 @@ class YoutubeVideoElement extends (globalThis.HTMLElement ?? class {}) { return this.#readyState; } - // If the getter from SuperVideoElement is overridden, it's required to define - // the setter again too unless it's a read only property! It's a JS thing. - get src() { return this.getAttribute('src'); }