[webvtt] & as subtitle in Firefox 87.0
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: github, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
- Create a vtt file with this subtitle:
00:00.000 --> 00:02.000
& - Put it in a "track" element and start a video with this subtitle file.
Actual results:
Firefox 87 shows "&" in the subtitle of the video.
Expected results:
Firefox should show "&" as subtitle (so it should only de-mask the first "&" and leave the second "amp;" as it is).
Chromium 89.0 shows "&" as expected.
Also see here: https://stackoverflow.com/questions/66904039/webvtt-escape-amp-in-subtitle-for-firefox-87-0
Other scenarios: Firefox shows "&" as "&" while Chromium shows "&".
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
For the repro steps, did you intend to write:
- Create a vtt file with this subtitle:
Put it in a "track" element and start a video with this subtitle file.00:00.000 --> 00:02.000 &
instead of:
- Create a vtt file with this subtitle:
00:00.000 --> 00:02.000
&
Put it in a "track" element and start a video with this subtitle file.
In that case, I can indeed reproduce the issue.
Yes, you are right: I intended to write &
. :-)
Again with some more markup to prevent de-masking:
Steps to reproduce:
- Create a vtt file with this subtitle:
00:00.000 --> 00:02.000
&
- Put it in a
track
element and start a video with this subtitle file.
Actual results:
Firefox 87 shows &
in the subtitle of the video.
Expected results:
Firefox should show &
as subtitle (so it should only de-mask the first &
and leave the second amp;
as it is).
Chromium 89.0 shows &
as expected.
Also see here: https://stackoverflow.com/questions/66904039/webvtt-escape-amp-in-subtitle-for-firefox-87-0
Other scenarios: Firefox shows &­amp;
as &­amp;
while Chromium shows &
.
Updated•11 months ago
|
Description
•