-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
BugSomething isn't workingSomething isn't workingTriageIssue needs to be triagedIssue needs to be triaged
Description
Describe the bug
The Seeked event is not firing in C#.
Investigation
It is bound, then fired correctly in JS browser, but not being correctly demuxed once it is invoked in C#. Stepping through the event handler finds the root cause: Typing mistake, where Seeked is being coupled through to Seeking instead of Seeked.
//BlazoredVideo.razor.cs:
protected virtual void OnChange(ChangeEventArgs args) {
...
case VideoEvents.Seeked:
Seeking?.Invoke(videoData.State); // Typo here. should be Seeked
SeekingEvent.InvokeAsync(videoData.State); // Typo here. should be SeekedEvent
break;
case VideoEvents.Seeking:
Seeking?.Invoke(videoData.State);
SeekingEvent.InvokeAsync(videoData.State);
break;
}
Workaround
I'm about to hook into the EventFired handler (which captures all events) as a workaround.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingTriageIssue needs to be triagedIssue needs to be triaged