mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 05:06:16 -08:00
* feat(artplayer): add feature-flagged shared controls Co-authored-by: Lars Emig <lars.emig@pickware.de> * fix(artplayer): align native type and signal inputs --------- Co-authored-by: Lars Emig <lars.emig@pickware.de>
26 lines
913 B
HTML
26 lines
913 B
HTML
<div
|
|
#playerRoot
|
|
class="art-player-shell"
|
|
[class.art-player-shell--shared-controls]="sharedControls"
|
|
>
|
|
<div #artplayer class="artplayer-container"></div>
|
|
|
|
@if (sharedControls) {
|
|
<div class="art-player-interaction-capture" aria-hidden="true"></div>
|
|
<app-player-controls
|
|
[controller]="controlsAdapter"
|
|
[playerSurface]="playerRoot"
|
|
[showControls]="interactionEnabled()"
|
|
[shortcutsEnabled]="interactionEnabled()"
|
|
(previousEpisodeRequested)="previousEpisodeRequested.emit()"
|
|
(nextEpisodeRequested)="nextEpisodeRequested.emit()"
|
|
/>
|
|
} @else {
|
|
<app-series-playback-navigation-controls
|
|
[navigation]="seriesNavigation()"
|
|
(previousEpisodeRequested)="previousEpisodeRequested.emit()"
|
|
(nextEpisodeRequested)="nextEpisodeRequested.emit()"
|
|
/>
|
|
}
|
|
</div>
|