Open
Bug 1356803
Opened 9 years ago
Updated 4 years ago
Video tag subtitles from different domains do not work
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: marek.raida, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170412135908
Steps to reproduce:
Embedded video element with subtitles from different domain, like http://svg.ic.cz/subtitles.html
Actual results:
Video is working properly, but subtitles are not working, no errors in console, no even attempt to load subtitle file is being made. (Request from the same domain&protocol, everything works well.)
Expected results:
Video should work (play) and subtitles shown as well. It is working in browsers from other vendors.
Error is displayed in the Browser Console (Ctrl+Shift+J):
"Security Error: Content at http://svg.ic.cz/subtitles.html may not load data from https://uloz.to/subtitles/live/!N5oGhnPmqDhx/ocekavani-ve-vztahu-vs-realita-mp4."
| Reporter | ||
Comment 2•9 years ago
|
||
OK, I see the error, but still do not understand WHY it happens, even in the best conditions we can provide.
All domains are on trusted HTTPS certificates, most benevolent CORS headers (*) are in place on both video and subtitle sources, and still, it is refusing to show them. OK, security error happening for HTTP hosting page only perhaps makes some sense (only perhaps!), but if everything is on trusted HTTPS + CORS set => what else can we do to make it working, please?
Cases are:
https://ulozto.sk/faq#faq-v13 subtitles ARE NOT loaded/shown, video plays fine
https://ulozto.cz/faq#faq-v13 subtitles ARE loaded/shown (and subtitles ARE loaded from the same domain), video plays fine
https://uloz.to/faq#faq-v13 subtitles ARE NOT loaded/shown, video plays fine
so AFAIK subtitles works in only case of the same domain, which I believe cannot be correct behavior (and all other browsers behave as expected), I still consider it to be a buggy behavior...
Comment 3•9 years ago
|
||
I just try the three links in comment 2, subtitles works for me.(Firefox 53.0.2)
Henry: did you fix it at bug 1313711?
Flags: needinfo?(hchang)
Comment 4•9 years ago
|
||
bug 1313711 is supposed to "add" but not "remove" restrictions so it's less
likely that it's the one which fixed this bug.
Besides, comment 2 is totally correct. If the track element doesn't have
CORS attribute, it should follow its parent's CORS behavior, which is
'anonymous' in the sample page. Also, the top level frame, video and
track element are all HTTPS so the mixed content blocking shouldn't
be applied.
Flags: needinfo?(hchang)
| Reporter | ||
Comment 5•9 years ago
|
||
The problem is still there. In he meanwhile, colleague of mine fixed it by using relative URLs (so it seemed to be working).
I put absolute URLs back and the problem is back as well (only this time uloz.to works and other two do not, because I used different domain).
Updated•9 years ago
|
Priority: -- → P3
Hi,
This bug it's still happening. Is there a plan to solve it?
Thanks
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•