Open lbracegirdle opened 1 year ago
+1
Good find @lbracegirdle. This definitely needs to be fixed.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.
@gabbybilka Just commenting on this to keep alive as it's still an issue.
HI @gabbybilka Could you advise if this has been scheduled to fix at any point? Its still an issue affecting the captions on videos, where it ignores the instructions for on-screen positions in the .vtt or .srt file.
Fwding to @bpulliam @chigy for next steps.
@gabbybilka @bpulliam @chigy Is there any update on when this might be looked at? Its an issue when conveying information in a video to those using subtitles, when an on screen 'name badge' or graphic conveys information that the subtitles hide in their default bottom centre position. Thanks
Describe the bug
When a VTT (WebVTT) file contains positional information for the caption, the styling causes the
MediaElement
to display the caption off centre.The same issue occurs if you use a .srt caption file. Any markers in the file (e.g.
{\an8}
) are ignored.Steps to reproduce the bug
MediaElement
to display an mp4 video and attach aTimedTextSource
that is a WebVTT caption file.line:10%
to position the caption at the top to the timed caption)A working project (based on the UWP Samples repo to demonstrate the
MediaElement
) has been adapted to experiment and repro the bug.You can download the code for this adapted repo here to try the repro on your own system: https://github.com/lbracegirdle/UWPVideoCaptionRepro
Expected behavior
When positional data is included in a WebVTT caption file (e.g.
line:10%
), it should display the caption in the location requested, not off screen or ignore the positional data all together.When positional data is included in a SRT caption file (e.g.
{\an8}
), it should display the caption in the location requested, not off screen or ignore the positional data all together.Screenshots
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response