mirror of
https://github.com/videojs/video.js.git
synced 2025-01-19 10:54:16 +02:00
4bde5c8928
Fix for #1561. If the HTML tech is being constructed without a video element to work off of, make sure that the controls attribute is only added under the same circumstances it would be at player init. Before this fix, if you loaded the Flash tech and then switched to the HTML tech, you would see the native controls underneath the video.js controls. Fix controls attribute test on iOS iOS uses native controls by default and so was failing the assertions that native controls weren't used. Force custom controls for this test case to make it work like everywhere else. Update nativeControlsForTouch default The default value changed so fix the predicate that tested for whether it was in use. closes #1811, closes #1564, closes #1561