Skip to content

Commit

Permalink
[CORE-4969] Updated documentation with new config params
Browse files Browse the repository at this point in the history
  • Loading branch information
KharchenkoAlex committed Nov 7, 2024
1 parent 1e3db64 commit fb017e0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/data/tutorials/playbacksdk/getstarted.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
},
{
"type": "text",
"text": "Create an instance of the custom video player plugin and configure it by setting playback options such as autoplay and background playback. To do this, create a `VideoPlayerConfig` object, update its autoplay and background playback settings, and then pass this configuration object to the plugin."
"text": "Create an instance of the custom video player plugin and configure it by setting playback options such as autoplay, background playback, and fullscreen settings. Begin by creating a VideoPlayerConfig object, then update its autoplay, background playback, and fullscreen settings, including enabling fullscreen on screen rotation (fullscreenRotationEnabled) and activating the fullscreen button (fullscreenEnabled). Finally, pass this configuration object to the plugin."
},
{
"type": "text",
Expand Down Expand Up @@ -302,7 +302,7 @@
{
"type": "text",
"text": "The "
},
},
{
"type": "strong",
"inlineContent": [
Expand Down Expand Up @@ -513,6 +513,8 @@
" val playerConfig = VideoPlayerConfig()",
" playerConfig.playbackConfig.autoplayEnabled = true",
" playerConfig.playbackConfig.backgroundPlaybackEnabled = true",
" playerConfig.playbackConfig.fullscreenRotationEnabled = true",
" playerConfig.playbackConfig.fullscreenEnabled = true",
" // Inject the player config to the plugin",
" customPlugin.setup(playerConfig)",
"",
Expand Down Expand Up @@ -665,6 +667,8 @@
" val playerConfig = VideoPlayerConfig()",
" playerConfig.playbackConfig.autoplayEnabled = true",
" playerConfig.playbackConfig.backgroundPlaybackEnabled = true",
" playerConfig.playbackConfig.fullscreenRotationEnabled = true",
" playerConfig.playbackConfig.fullscreenEnabled = true",
" // Inject the player config to the plugin",
" customPlugin.setup(playerConfig)",
"",
Expand Down Expand Up @@ -755,6 +759,8 @@
" val playerConfig = VideoPlayerConfig()",
" playerConfig.playbackConfig.autoplayEnabled = true",
" playerConfig.playbackConfig.backgroundPlaybackEnabled = true",
" playerConfig.playbackConfig.fullscreenRotationEnabled = true",
" playerConfig.playbackConfig.fullscreenEnabled = true",
" // Inject the player config to the plugin",
" customPlugin.setup(playerConfig)",
"",
Expand Down

0 comments on commit fb017e0

Please sign in to comment.