mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
docs(embedded-mpv): normalize shared-controls plans
This commit is contained in:
1 parent
6224481d0a
commit
bb8b01efad
2 files changed
+9
-10
No files matched your search
@@ -81,8 +81,7 @@ export class EmbeddedMpvControlsAdapter implements PlayerController {
|
||||
seekBy: (delta) => void this.controller.seekBy(delta),
|
||||
setVolume: (value) => void this.controller.applyVolume(value),
|
||||
setAudioTrack: (id) => void this.controller.setAudioTrack(id),
|
||||
setSubtitleTrack: (id) =>
|
||||
void this.controller.setSubtitleTrack(id),
|
||||
setSubtitleTrack: (id) => void this.controller.setSubtitleTrack(id),
|
||||
setPlaybackSpeed: (speed) => void this.controller.setSpeed(speed),
|
||||
setAspectRatio: (value) => void this.controller.setAspect(value),
|
||||
toggleRecording: () => void this.toggleRecording(),
|
||||
@@ -193,13 +192,13 @@ Render:
|
||||
|
||||
```html
|
||||
@if (isFrameCopyEngine() && isSupported()) {
|
||||
<app-player-controls
|
||||
[controller]="sharedControls"
|
||||
[playerSurface]="playerSurface()"
|
||||
[showControls]="showControls()"
|
||||
(previousEpisodeRequested)="requestPreviousEpisode()"
|
||||
(nextEpisodeRequested)="requestNextEpisode()"
|
||||
/>
|
||||
<app-player-controls
|
||||
[controller]="sharedControls"
|
||||
[playerSurface]="playerSurface()"
|
||||
[showControls]="showControls()"
|
||||
(previousEpisodeRequested)="requestPreviousEpisode()"
|
||||
(nextEpisodeRequested)="requestNextEpisode()"
|
||||
/>
|
||||
}
|
||||
```
|
||||
|
||||
@@ -352,3 +351,4 @@ reviews, address actionable findings with regression tests, and merge only when
|
||||
all exact-head CI checks pass, Greptile reports 5/5, Codex is clean, and no
|
||||
review thread remains unresolved.
|
||||
|
||||
The replacement PR is complete only after this exact-head gate passes.
|
||||
@@ -159,4 +159,3 @@ Update the canonical controls and embedded-MPV architecture documents to state
|
||||
that frame-copy is the first shared-controls consumer while native-view remains
|
||||
on its dock. Update `AGENTS.md` and `CLAUDE.md` because both describe the
|
||||
embedded-MPV/player-controls ownership boundary.
|
||||
|
||||
Reference in new issue
Block a user