New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videos/subtitles not displayed in some browsers (including Firefox) #4993

Closed
radinamatic opened this Issue Mar 14, 2016 · 24 comments

Comments

Projects
None yet
6 participants
@radinamatic
Contributor

radinamatic commented Mar 14, 2016

Summary

Confirmed on both Beta2 in Ubuntu & build 176 on Windows XP. Windows 8.1 displays video but do not load subtitles. IE11 also has problems with subs, but does display video. Chrome does everything 馃憤

@MCGallaspy

Branch or installer method

Beta2 in Ubuntu & build 176 on Windows

Traceback or relevant snippet from server.log

Win8 console error.

TypeError: w.default.WebVTT.StringDecoder is not a function
require<[581]</</</<[127]</x()  bundle_video.js:16
require<[581]</</</<[127]</O/</<()  bundle_video.js:16

Screenshots

Win XP
ie8 - winxp ready for ka lite running - oracle vm virtualbox_258

Win8.1
ie11 - win8 1 ready for ka lite running - oracle vm virtualbox_290

Ubuntu 14.04
ubuntu 14 04 ready for ka lite running - oracle vm virtualbox_282

@MCGallaspy MCGallaspy added this to the 0.16.0 milestone Mar 14, 2016

@MCGallaspy MCGallaspy changed the title from Videos/subtitles not displayed in Firefox to Videos/subtitles not displayed in some browsers (including Firefox) Mar 14, 2016

@MCGallaspy

This comment has been minimized.

Show comment
Hide comment
@MCGallaspy

MCGallaspy Mar 14, 2016

Contributor

Just to be clear, you seem to be experiencing two separate errors. In some browsers videos don't work at all (with the error Specific "type" attribute of "video/mp4"...) and in some the video does work but subtitles do not. I suspect this is a browser compatibility issue rather than some os-specific problem. Can you indicate which browser+version you receive each particular error in?

Contributor

MCGallaspy commented Mar 14, 2016

Just to be clear, you seem to be experiencing two separate errors. In some browsers videos don't work at all (with the error Specific "type" attribute of "video/mp4"...) and in some the video does work but subtitles do not. I suspect this is a browser compatibility issue rather than some os-specific problem. Can you indicate which browser+version you receive each particular error in?

@MCGallaspy MCGallaspy self-assigned this Mar 14, 2016

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

The above errors are all in latest version (44?) of Firefox @MCGallaspy, in Chrome everything works, and I still have to figure out how to debug stuff in IE :rage4:

Contributor

radinamatic commented Mar 14, 2016

The above errors are all in latest version (44?) of Firefox @MCGallaspy, in Chrome everything works, and I still have to figure out how to debug stuff in IE :rage4:

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

0.16 branch on Ubuntu 14.04 - Firefox 45:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_291

Specified "type" attribute of "video/mp4" is not supported. Load of media resource /content/y2-uaPiyoxc.mp4 failed. counting-with-small-numbers
All candidate resources failed to load. Media load paused.

@MCGallaspy

Contributor

radinamatic commented Mar 14, 2016

0.16 branch on Ubuntu 14.04 - Firefox 45:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_291

Specified "type" attribute of "video/mp4" is not supported. Load of media resource /content/y2-uaPiyoxc.mp4 failed. counting-with-small-numbers
All candidate resources failed to load. Media load paused.

@MCGallaspy

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

Weird, now I'm getting the same error on Chromium too:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_292

It was working on Beta2 yesterday... 馃槥

Contributor

radinamatic commented Mar 14, 2016

Weird, now I'm getting the same error on Chromium too:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_292

It was working on Beta2 yesterday... 馃槥

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

I installed that gstreamer0.10-ffmpeg package (media.gstreamer.enabled config was already true), even restarted the VM, and I'm still getting the same errors as before on FF, while on Chromium it's different now:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_293

And my favorite Chrome extension erases all cache and reloads - it didn't help either... :(

Contributor

radinamatic commented Mar 14, 2016

I installed that gstreamer0.10-ffmpeg package (media.gstreamer.enabled config was already true), even restarted the VM, and I'm still getting the same errors as before on FF, while on Chromium it's different now:

ubuntu 14 04 0 16 beta2 running - oracle vm virtualbox_293

And my favorite Chrome extension erases all cache and reloads - it didn't help either... :(

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

Virtually identical errors in XP VM (still on my 0.16 branch through LAN):

Firefox
ie8 - winxp ready for ka lite running - oracle vm virtualbox_294

Chrome
ie8 - winxp ready for ka lite running - oracle vm virtualbox_295

Contributor

radinamatic commented Mar 14, 2016

Virtually identical errors in XP VM (still on my 0.16 branch through LAN):

Firefox
ie8 - winxp ready for ka lite running - oracle vm virtualbox_294

Chrome
ie8 - winxp ready for ka lite running - oracle vm virtualbox_295

@MCGallaspy

This comment has been minimized.

Show comment
Hide comment
@MCGallaspy

MCGallaspy Mar 14, 2016

Contributor

Still not sure about the videojs error -- it's definitely occurring because the subtitle resource returns 404, but I don't know why that should be the case.

However with the Specified "type" attribute of "video/mp4" is not supported... error it is almost certainly that your browser doesn't have a fallback for mp4 content. Try installing the flash plugin or the vlc plugin on Ubuntu. On Windows XP, try to determine if a fallback exists for that content type and try installing one if it doesn't.

Contributor

MCGallaspy commented Mar 14, 2016

Still not sure about the videojs error -- it's definitely occurring because the subtitle resource returns 404, but I don't know why that should be the case.

However with the Specified "type" attribute of "video/mp4" is not supported... error it is almost certainly that your browser doesn't have a fallback for mp4 content. Try installing the flash plugin or the vlc plugin on Ubuntu. On Windows XP, try to determine if a fallback exists for that content type and try installing one if it doesn't.

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 14, 2016

Contributor

Ok, will investigate if installing these fallback plugins solves the issue. I'm setting up a fresh Ubuntu 15.10 VM to test from scratch.

Contributor

radinamatic commented Mar 14, 2016

Ok, will investigate if installing these fallback plugins solves the issue. I'm setting up a fresh Ubuntu 15.10 VM to test from scratch.

@MCGallaspy MCGallaspy added the ready label Mar 15, 2016

@MCGallaspy

This comment has been minimized.

Show comment
Hide comment
@MCGallaspy

MCGallaspy Mar 15, 2016

Contributor

Current efforts can be tracked in #4996

This appears to be specific to XP -- other OSes play videos just fine.

Contributor

MCGallaspy commented Mar 15, 2016

Current efforts can be tracked in #4996

This appears to be specific to XP -- other OSes play videos just fine.

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 16, 2016

Contributor

Regarding Firefox playing videos on Ubuntu, on both 14.04 and 15.10, Ubuntu restricted extras solved the issue:

Ubuntu restricted extras

Added to Pending to be documented list on Trello board.

Contributor

radinamatic commented Mar 16, 2016

Regarding Firefox playing videos on Ubuntu, on both 14.04 and 15.10, Ubuntu restricted extras solved the issue:

Ubuntu restricted extras

Added to Pending to be documented list on Trello board.

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 16, 2016

Contributor

@MCGallaspy I'd transfer the screenshots regarding the videojs error related to Malformed WebVTT signature to a separate issue, let this be reserved for the "mp4/Flash on Firefox/XP" problem.

Contributor

radinamatic commented Mar 16, 2016

@MCGallaspy I'd transfer the screenshots regarding the videojs error related to Malformed WebVTT signature to a separate issue, let this be reserved for the "mp4/Flash on Firefox/XP" problem.

@MCGallaspy

This comment has been minimized.

Show comment
Hide comment
@MCGallaspy

MCGallaspy Mar 16, 2016

Contributor

Have you had subsequent issues with VTT files? I've seen intermittently that the requested VTT file 404s -- refreshing the page always solves it.

Contributor

MCGallaspy commented Mar 16, 2016

Have you had subsequent issues with VTT files? I've seen intermittently that the requested VTT file 404s -- refreshing the page always solves it.

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 16, 2016

Contributor

No, I'm getting no results with refreshing, weather with or without clearing cache. I'm still viewing your fork pulled locally on my Ubuntu VMs and VTT always gives 404s.

Contributor

radinamatic commented Mar 16, 2016

No, I'm getting no results with refreshing, weather with or without clearing cache. I'm still viewing your fork pulled locally on my Ubuntu VMs and VTT always gives 404s.

@MCGallaspy

This comment has been minimized.

Show comment
Hide comment
@MCGallaspy

MCGallaspy Mar 16, 2016

Contributor

Have you downloaded a content pack, in that case?

Contributor

MCGallaspy commented Mar 16, 2016

Have you downloaded a content pack, in that case?

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 16, 2016

Contributor

I already had 4 of them (EN, ES, FR & PT) installed previously, and I can see the y2-uaPiyoxc.vtt in my /kalite/static/srt/en/subtitles folder.

Contributor

radinamatic commented Mar 16, 2016

I already had 4 of them (EN, ES, FR & PT) installed previously, and I can see the y2-uaPiyoxc.vtt in my /kalite/static/srt/en/subtitles folder.

@aronasorman

This comment has been minimized.

Show comment
Hide comment
@aronasorman

aronasorman Mar 30, 2016

Member

Won't fix for 0.16. Punting to 0.17.

Member

aronasorman commented Mar 30, 2016

Won't fix for 0.16. Punting to 0.17.

@aronasorman aronasorman modified the milestones: 0.17.0, 0.16.0 Mar 30, 2016

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Mar 30, 2016

Contributor

Signed installer for 0.16 on Windows 7, FF and Chrome show videos and subs OK out of the box, IE10 plays video, but does not show subs:

subs-ie10_win7

Not sure how to debug in IE... 馃槖

subs-ie10_win7-2

Contributor

radinamatic commented Mar 30, 2016

Signed installer for 0.16 on Windows 7, FF and Chrome show videos and subs OK out of the box, IE10 plays video, but does not show subs:

subs-ie10_win7

Not sure how to debug in IE... 馃槖

subs-ie10_win7-2

@mrpau-richard

This comment has been minimized.

Show comment
Hide comment
@mrpau-richard

mrpau-richard Apr 6, 2016

Member

Watching video on OS X El Capitan using firefox version 45.0.1 is working fine.
screen shot 2016-04-06 at 5 33 42 pm

I replicate this issue on ubuntu 15.10 using firefox version 45.0.1

screen shot 2016-04-06 at 5 37 56 pm

Member

mrpau-richard commented Apr 6, 2016

Watching video on OS X El Capitan using firefox version 45.0.1 is working fine.
screen shot 2016-04-06 at 5 33 42 pm

I replicate this issue on ubuntu 15.10 using firefox version 45.0.1

screen shot 2016-04-06 at 5 37 56 pm

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Apr 6, 2016

Contributor

Just to sum up @amodia: you cannot see videos OK with FF45 on Ubuntu 15.10? Did you install Ubuntu restricted extras package?

Ubuntu restricted extras

Contributor

radinamatic commented Apr 6, 2016

Just to sum up @amodia: you cannot see videos OK with FF45 on Ubuntu 15.10? Did you install Ubuntu restricted extras package?

Ubuntu restricted extras

@mrpau-richard

This comment has been minimized.

Show comment
Hide comment
@mrpau-richard

mrpau-richard Apr 6, 2016

Member

@radinamatic: Yes, it fixed the issue I just install Ubuntu restricted extras package.

screen shot 2016-04-06 at 6 54 34 pm

Member

mrpau-richard commented Apr 6, 2016

@radinamatic: Yes, it fixed the issue I just install Ubuntu restricted extras package.

screen shot 2016-04-06 at 6 54 34 pm

@djallado

This comment has been minimized.

Show comment
Hide comment
@djallado

djallado Apr 6, 2016

Contributor

Confirmed. I installed Ubuntu restricted extras package and I can now view video in FF.
I'm using FF version 45.0.1.
ubuntu-resticted-extras

Contributor

djallado commented Apr 6, 2016

Confirmed. I installed Ubuntu restricted extras package and I can now view video in FF.
I'm using FF version 45.0.1.
ubuntu-resticted-extras

@benjaoming

This comment has been minimized.

Show comment
Hide comment
@benjaoming

benjaoming Jun 13, 2016

Member

Related: #5125

We should consider switching to a different player/polyfill, possibly Webshim.

https://afarkas.github.io/webshim/demos/

Member

benjaoming commented Jun 13, 2016

Related: #5125

We should consider switching to a different player/polyfill, possibly Webshim.

https://afarkas.github.io/webshim/demos/

@benjaoming

This comment has been minimized.

Show comment
Hide comment
@benjaoming

benjaoming Oct 22, 2016

Member

@radinamatic seems this issue is being mixed up with restricted-extras, which we have documented that people need to install.

However, it seems there was also an issue on XP. Could you confirm it and narrow it down so we can add it "Known Issues" and perhaps move one to a fresh issue with less confusing input? :)

Member

benjaoming commented Oct 22, 2016

@radinamatic seems this issue is being mixed up with restricted-extras, which we have documented that people need to install.

However, it seems there was also an issue on XP. Could you confirm it and narrow it down so we can add it "Known Issues" and perhaps move one to a fresh issue with less confusing input? :)

@radinamatic

This comment has been minimized.

Show comment
Hide comment
@radinamatic

radinamatic Dec 8, 2016

Contributor

@benjaoming I agree we could close this. The following Known issues are still valid for 0.17:

  • Viewing subtitles on Ubuntu requires ubuntu-restricted-extras
  • On Windows XP you must use Chrome in order to view videos
Contributor

radinamatic commented Dec 8, 2016

@benjaoming I agree we could close this. The following Known issues are still valid for 0.17:

  • Viewing subtitles on Ubuntu requires ubuntu-restricted-extras
  • On Windows XP you must use Chrome in order to view videos

@benjaoming benjaoming closed this Dec 17, 2016

@benjaoming benjaoming removed the has PR label Dec 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment