4 years ago
- Fixed an issue causing the floating player to go back to its original location on complete of each playlist item. Skipping to the next video by clicking a thumbnail or the next up button was unaffected.
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 when
floating.dismissibleis set to
false. Learn more about floating in our documentation.
floatOnScroll, which was available for a beta version of the floating player. Please use the new floating block above.
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.
pause()on seek no longer need to use the API, but anyone who wishes to resume playback automatically after a seek event now must call
heightto 42px automatically puts the player into control bar only mode.
shelfWidget. Read more about this option in the configuration reference. The default interface for playlists that are not generated through our recommendations product remains as
playlist, which localized the tooltip text, overlay heading, and aria-label HTML attribute of a playlist overlay. To customize this text, please use
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.
102007 (ERROR_XHR_FILE_PROTOCOL), which fires when a player fails to set up on a page that is using the file:// protocol.
sharing.on('open')erroneously fires multiple times after calling
metadataType, which indicates the type of
metadataavailable in the event. Possible values are:
metaevents are fired:
sliderfrom “Seek Slider” to “Seek” to reduce screen reader redundancy.
optionalParamsobject, which restricts VPAIDs and only serves mp4 ads with no SpotX VPAID wrapper.
on(‘adPause’)in the VAST, IMA, and Freewheel clients.
TypeErrorthat occurs when provided double value for
vpaidcontrolswas set to
adPlayevent to fire twice on mobile devices.