mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 19:46:16 -08:00
- Introduced `PortalInlinePlayerComponent` with SCSS styles for inline playback. - Updated `StalkerSeriesViewComponent` to utilize the new inline player for episode playback. - Enhanced `CategoryContentViewComponent`, `SerialDetailsComponent`, and `VodDetailsRouteComponent` to support inline playback functionality. - Implemented time update handling and stream URL copy notifications across components. - Created `ResolvedPortalPlayback` and `PlayerContentInfo` interfaces for structured playback data. - Updated relevant services and stores to manage playback state and positions.
22 lines
532 B
TypeScript
22 lines
532 B
TypeScript
import { PlaybackPositionData } from './playback-position.interface';
|
|
|
|
export interface PlayerContentInfo
|
|
extends Omit<
|
|
PlaybackPositionData,
|
|
'positionSeconds' | 'durationSeconds' | 'updatedAt'
|
|
> {
|
|
playlistId: string;
|
|
}
|
|
|
|
export interface ResolvedPortalPlayback {
|
|
streamUrl: string;
|
|
title: string;
|
|
thumbnail?: string | null;
|
|
startTime?: number;
|
|
contentInfo?: PlayerContentInfo;
|
|
headers?: Record<string, string>;
|
|
userAgent?: string;
|
|
referer?: string;
|
|
origin?: string;
|
|
}
|