feature: Embed Frame Player
This commit is contained in:
@@ -62,4 +62,13 @@ public interface IStreamingPlayerService : IPlayerService
|
||||
|
||||
// Streaming control methods
|
||||
Task SelectTrackStreaming(TrackDto track);
|
||||
|
||||
/// <summary>
|
||||
/// Stages a track as the current track without touching the audio context or starting the
|
||||
/// stream. Used by the embed player, where there is no user gesture on initial load: the track
|
||||
/// is shown as ready, and the first play click (a genuine gesture) calls
|
||||
/// <see cref="SelectTrackStreaming"/> so the browser allows the AudioContext to start. Sets
|
||||
/// <see cref="IPlayerService.CurrentTrack"/> and notifies; performs no JS interop.
|
||||
/// </summary>
|
||||
Task StageTrack(TrackDto track);
|
||||
}
|
||||
Reference in New Issue
Block a user