File tree Expand file tree Collapse file tree
packages/youtube-external-audio/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export function ExternalAudioPanel({
1818 getVideo : ( ) => VideoClock | null | undefined ;
1919} ) {
2020 // TODO: Add a floating open/close button and persist panel state per video.
21+ // TODO: Persist the chosen audio per video, following ytsub-v5's per-video
22+ // state pattern.
2123 const inputRef = useRef < HTMLInputElement > ( null ) ;
2224 const audioRef = useRef < HTMLAudioElement > ( null ) ;
2325 const syncRef = useRef < PlayerSync > ( null ) ;
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ export class PlayerSync {
3939
4040 this . #originalMuted = this . video . muted ;
4141 this . #enabled = true ;
42+ // TODO: YouTube sometimes clears video.muted during playback. Investigate
43+ // how its own mute control keeps the player muted and mirror that behavior.
4244 this . video . muted = true ;
4345 this . #alignTime( ) ;
4446 this . #alignRate( ) ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class FakeVideo extends EventTarget implements VideoClock {
1313
1414const fakeVideo = new FakeVideo ( ) ;
1515
16+ // TODO: Add Playwright coverage for the standalone panel preview.
1617function Web ( ) {
1718 const [ dark , setDark ] = useState ( false ) ;
1819
You can’t perform that action at this time.
0 commit comments