Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved max-width test for MediaElementPlayer.setPlayerSize
The test for max-width in MediaElementPlayer.setPlayerSize only returns true if max-width is set to 100%. Firefox returns the calculated value instead, so this check always fails in FF. A different, solution is to simply check if a max-width is set and if that value is different than the width of the video, in which case it should probably be resized. This should resolve mediaelement#920.
- Loading branch information