Touch only has the "X" close button for the drawer. clearCompactMode called when something which updates the content of the control bar is called so that its always up-to-date _userActivity only removes classes and checks for compact mode if we were previously not showing the UI. Pre-calculate the breakpoint for quicker execution and greater consistency for switching between display modes.
FIxed youtube provider having issues with on not being defined
…s appropriate. Less file targeting fix.
The controlbar will determine when to enter an exit compact mode when resizing or when the player starts playing a new playlist item. Menus are returned to the controlbar after the compact mode is no longer necessary. Fix for using the constructor correctly.
Drawer for extra icons to be placed into when in compact mode. It toggles when clicking on the more/close icon and can mouse open in small players. Icons do not currently get taken back out of the drawer if the player gets large enough that it does not need compact mode anymore. JW7-1283 will complete that task
Compact player mode is entered when the player is less than 400px wide. Compact mode is applied when the size of the player changes, or when orientation changes. 400px wide seems more useful than 320px wide. This is at least until the icon drawer is added.
…uch interface mode when playing on a mobile device and the controlbar is large enough to handle the larger UI
Increases the size of the ui on mobile devices an appropriate amount by adding a flag to the player. Some extra attention given to the large-ui version of the seven skin so it doesn't look dumb with its extra padding in the small mode. Also includes a test page with a viewport set to device-width for testing the Mobile UI in a setting more appropriate for the form factor.
…ore/optimize-css-utils * 'master' of https://github.com/jwplayer/jwplayer: Remove unused import and restore array destruction in Setup Proper way to fix the audio mode issue. 7.0.2 Hide the preview image when the player is in audio only mode. [JW7-1285] Fix test for when no setup steps need deferral Fix linting error for unused variable Filter by first source instead of provider priority Bugfix from seconds util moving into strings utils Remove circular refs in event handler objects. default to event trigger's context.
Added attached flag back to html5 and flash providers, and removed test console in youtube provider