Skip to content

Commit

Permalink
Fix YT player not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxocube committed Jan 7, 2025
1 parent a744d36 commit 9a9246a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MediaFeeder/MediaFeeder/Components/Pages/Video.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public sealed partial class Video : IDisposable
private PlaybackSession? PlaybackSession { get; set; }

private int UpNextCount { get; set; }
private TimeSpan UpNextDuration { get; set; }
private TimeSpan TotalDuration { get; set; }
private TimeSpan UpNextDuration { get; set; } = TimeSpan.Zero;
private TimeSpan TotalDuration { get; set; } = TimeSpan.Zero;

protected override async Task OnParametersSetAsync()
{
Expand Down

0 comments on commit 9a9246a

Please sign in to comment.