Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORE-4969] Updated documentation with new config params #32

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading