Description
Describe the bug
On iOS, using JWPlayer v1.1.1, the player UI does not immediately respect the configuration meant to hide specific UI elements. This issue occurs even when using the appropriate uiConfig structure or the legacy hideUIGroups array.
Despite explicitly including:
hideUIGroups: [
'settings_menu',
'quality_submenu',
'audiotracks_submenu',
'playback_submenu',
]
…or configuring uiConfig like:
uiConfig: {
hasMenu: false,
hasQualitySubMenu: false,
hasAudiotracksSubMenu: false,
hasPlaybackRatesSubMenu: false,
}
…the corresponding UI icons (such as quality, audio, playback rate) are still briefly visible when the player loads. They disappear only after a few seconds or some delayed internal update, instead of being hidden from the start.
To Reproduce
Open the JWPlayer-based application on an iOS device or simulator.
Configure the player with:
hideUIGroups containing specific submenu keys, or
uiConfig with properties like hasMenu: false, etc.
Load a video.
Observe the UI immediately after player render, before or during playback.
Expected behavior
All specified UI elements should be hidden immediately on load, with no visible flash or delay.
Actual behavior
The UI groups such as settings_menu, quality_submenu, audiotracks_submenu, and playback_submenu appear briefly, creating an unwanted flash of controls. They disappear only after a short delay, suggesting the configuration is not applied during initial render.
Device(s) affected
All iOS devices and simulators (reproduced on multiple versions of iOS).
JWPlayer version
1.1.1 (react-native-jwplayer)