Current playback time (in seconds), used for resuming playback.
Event emitter that notifies parent components when playback time changes.
Custom height (in viewport height units) to apply to the player container.
Configuration options passed directly to Video.js upon initialization.
Instance of the Video.js player.
Optional network or quality message displayed alongside the player.
Whether playback should start from a previously saved position.
Signal holding a synchronized playback time used for debugging or network speed tracking.
Reference to the underlying <video> DOM element.
Video identifier used for progress tracking.
Lifecycle hook that initializes the Video.js player after view rendering.
Also applies the custom height via CSS variable --video-height.
Lifecycle hook reacting to input changes.
src is provided).Object containing changed input properties.
Cleans up the player instance to prevent memory leaks.
VjsPlayerComponent
A wrapper component around the Video.js player library.
Provides reactive integration between Angular and Video.js, allowing dynamic video source updates, playback state management, and time synchronization with external components.
Features:
customHeightSelector:
app-vjs-playerStandalone:true