Backtracks players may toggle the availability of fullscreen mode for embeds. If you think your audience may benefit from the option to experience the player in fullscreen (they can go fullscreen then back to the embed) then this article is for you. This article describes how to enable the availability of the fullscreen mode of the player.
How To Enable The Player Fullscreen Feature/Option
To enable fullscreen functionality on a Backtracks player set the attribute of data-bt-allow-fullscreen to true when embedding a player. To disable fullscreen set the attribute to false. Be sure to quote the attribute value like "true" or "false" when setting this in HTML.
When the user clicks or taps the fullscreen icon the player will go fullscreen (then they can exit out of fullscreen and go back to the previous mode by pressing [ESC]/[ESCAPE] on a keyboard or clicking/tapping the icon again on mobile, table, or touchscreen scenarios.
Allowing Fullscreen
<div data-bt-embed...data-bt-allow-fullscreen="true"></div>
Note: If setting this property via a JavaScript the boolean property name is to set is allowFullscreen when creating the player.
Comments
0 comments
Article is closed for comments.