Skip to content

Commit

Permalink
Upgrade more properties
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 17, 2023
1 parent 5a422f3 commit 1f4d999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ export class BabyVideoElement extends HTMLElement {
// before the element upgraded.
// https://web.dev/custom-elements-best-practices/
this.#upgradeProperty("srcObject");
this.#upgradeProperty("muted");
this.#upgradeProperty("playbackRate");
this.#upgradeProperty("volume");
this.#upgradeProperty("currentTime");
}

Expand Down

0 comments on commit 1f4d999

Please sign in to comment.