5 years ago
Web: 8.8.0
Updates
Core Player
- Added a new object,
floating
, which keeps the player visible when the original player location is scrolled out of view by minimizing it to the bottom right corner of the screen (and the top of the page in portrait mode on small screens). Viewers cannot hide the floating player and send it back to its original location whenfloating.dismissible
is set tofalse
. Learn more about floating in our documentation. - Removed a previously undocumented configuration option,
floatOnScroll
, which was available for a beta version of the floating player. Please use the new floating block above. - Added the ability for the viewer to drag and reposition the floating player anywhere on the screen. Dragging is disabled during ad playback.
- Added a new object,
autoPause
, which automatically pauses the video when less than 50% in view, including when the player is no longer in the active tab. Learn more about autopause in our documentation. - Added support for CMAF format streams across all browsers.
- Improved handling of relative protocol urls so that JW Player hosted protocol-relative playlist urls can play when accessing a webview that has js embed with file:// protocol. Only jwplatform playlist urls starting with "//" are changed to be loaded over https. URLs for other domains or for ad tags must be fully resolved in the setup configuration.
- Improved the user experience by retaining the paused state after a viewer seeks while paused. Developers who have worked around this in the past by calling
pause()
on seek no longer need to use the API, but anyone who wishes to resume playback automatically after a seek event now must callplay()
. - Improved clarity by hiding the settings menu gear icon in the control bar if the only submenu option is also a shortcut icon in the control bar, which applies to sharing and captions.
- Added a volume slider to control bar only players, which is used to play audio. Setting a player’s
height
to 42px automatically puts the player into control bar only mode. - Added a reference dialog for keyboard shortcuts within the player, which can be accessed via the right click menu or evoked by pressing
SHIFT
+?
. - Added support for all playlists to use our recommendations user interfaces by setting
related.displayMode
toshelf
orshelfWidget
. Read more about this option in the configuration reference. The default interface for playlists that are not generated through our recommendations product remains asoverlay
. - Removed the localization option,
playlist
, which localized the tooltip text, overlay heading, and aria-label HTML attribute of a playlist overlay. To customize this text, please userelated.heading
within theintl
block. - Added a shortcut to sharing in the right click menu.
- Added automatic localization support for six new languages: Russian, Indonesian, Korean, Thai, Vietnamese, and Finnish. Check our support article for a full list of the 21 supported languages and to submit a request for additional languages.
Advertising
- Deprecated the
on(‘adManager’)
event for Google IMA and Freewheel, which fires when the ad manager is loaded.on(‘adsManager’)
, with an “s”, should be used instead.
Fixes
Core Player
- Fixed a typo in the French translation of the word share.
Advertising
- Fixed an issue causing audio to play in background.