VideoJS resize disaster on IE11
Please see this example: http://jsbin.com/idinaf/4
of video resize not working properly on Windows 8.1 and IE11. If one does not resize the video, it looks fine. If one resizes the window then bars of flickering garbage appear on left and right sides of video. We selected VideoJS for a large interactive education/outreach project and this is a very serious issue.
If one puts a canvas behind the VideoJS player, then the bars of flickering garbage become thick and appear all throughout the video. The flickering garbage appears to be bits and pieces of previous frames and even previously watched video clips.
This is completely unacceptable.
Looks like you are using a really old version of videojs. Can you please update to the latest and retest? Hopefully, it will fix the issue.
I'm going to go ahead and close this, but if you can still reproduce with a current version of VJS just comment with an updated reduced test case and we can re-open.
This issue appears to be related to video size. if the aspect ratio is not exact to the last possible pixel, this sort of issue occurs even on the newest VideoJS. When video is resized, since both 4:3 and 16:9 aspect ratios are not proper fractions, you run into rounding issues. VideoJS might benefit from some sort of memory buffer initialization if that is even possible in JavaScript. I am primarily a Fortran/C/C++ programmer, so I look at lower levels primarily as far as code is concerned.
What kind of video are you playing back? Is it an mp4 or something else?
MP4, but that was not the issue. We figured out what it was: aspect ratio was not consistent. It might be useful however in case someone does wish to play a 16/9 aspected video in a 4/3 player, it should let you letterbox without the top and bottom getting filled with numerical garbage. I don't know, just a thought.
We have a bigger issue with forcing VideoJS player to always be on top. Firefox seems to ignore any settings of the z-index (despite 'position' being set) in the CSS. All other browsers function normally in that regard. No, I can not set up a demo because that would take me at least two weeks to extract all the relevant code from the web application it's in. I would not call the product a website, it's more than that. It is its own mini-browser basically.
Date: Thu, 21 Aug 2014 12:01:35 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [video.js] VideoJS resize disaster on IE11 (#1437)
What kind of video are you playing back? Is it an mp4 or something else?
— Reply to this email directly or view it on GitHub.
Basically, wondering whether this is when the video is playing back in flash or natively in the browser as that will make a difference. Do you get the same issue if you don't use videojs?
Natively in the browser, no Flash. We have not attempted to not use VideoJS, because that would require a significant reworking of the code that is already there. There was an earlier design decision to use VideoJS. We are actively avoiding Flash because it does not work on mobile and we want mobile support for the application. We consider this issue now fully resolved.
We have moved on to the Firefox issue of the video player refusing to stay on top (and therefore losing all controls) when used together with PixiJS and FabricJS.
Date: Thu, 21 Aug 2014 13:42:00 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [video.js] VideoJS resize disaster on IE11 (#1437)
Basically, wondering whether this is when the video is playing back in flash or natively in the browser as that will make a difference.
Do you get the same issue if you don't use videojs?
— Reply to this email directly or view it on GitHub.