diff --git a/docs/data/documentation/playbacksdk.json b/docs/data/documentation/playbacksdk.json index b1e9957..c3e016e 100644 --- a/docs/data/documentation/playbacksdk.json +++ b/docs/data/documentation/playbacksdk.json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK"},"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[[]]},"sections":[],"metadata":{"role":"collection","title":"PlaybackSDK","externalID":"PlaybackSDK","symbolKind":"module","modules":[{"name":"PlaybackSDK"}],"roleHeading":"Framework"},"variants":[{"paths":["\/documentation\/playbacksdk"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaybackSDK/documentation/PlaybackSDK":{"url":"\/documentation\/playbacksdk","title":"PlaybackSDK","identifier":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK","type":"topic","kind":"symbol","role":"collection","abstract":[]}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/playbacksdk"]}],"hierarchy":{"paths":[[]]},"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"externalID":"PlaybackSDK","role":"collection","modules":[{"name":"PlaybackSDK"}],"symbolKind":"module","title":"PlaybackSDK","roleHeading":"Framework"},"sections":[],"references":{"doc://PlaybackSDK/documentation/PlaybackSDK":{"type":"topic","identifier":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK","title":"PlaybackSDK","url":"\/documentation\/playbacksdk","role":"collection","abstract":[],"kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/tutorials/playbacksdk/customplugintutorial.json b/docs/data/tutorials/playbacksdk/customplugintutorial.json deleted file mode 100644 index fae9d4a..0000000 --- a/docs/data/tutorials/playbacksdk/customplugintutorial.json +++ /dev/null @@ -1 +0,0 @@ -{"sections":[{"chapter":"Creating a Custom Playback Player Plugin","estimatedTimeInMinutes":30,"kind":"hero","title":"Playback SDK Overview","content":[{"inlineContent":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Key Features:"}]}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"inlineContent":[{"type":"text","text":"Abstraction:"}],"type":"strong"},{"text":" Hides the complexities of underlying video APIs, allowing you to focus on the core playback experience.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Flexibility:"}]},{"text":" Supports different video providers and allows the creation of custom playback plugins for extended functionalities.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Error Handling:"}]},{"type":"text","text":" Provides mechanisms to handle potential issues during playback and notify your application."}],"type":"paragraph"}]}]}]},{"tasks":[{"contentSection":[{"content":[{"inlineContent":[{"type":"text","text":"The Playback SDK supports extending functionalities through custom video player plugins. These plugins can provide extended functionalities or integrate with third-party video players. Refer to the full source code for details on creating custom plugins."}],"type":"paragraph"},{"type":"codeListing","syntax":"swift","code":["\/\/ Implement your custom player plugin conforming to VideoPlayerPlugin protocol","","\/\/ Register your custom plugin with the manager","let pluginManager = VideoPlayerPluginManager.shared","pluginManager.registerPlugin(YourCustomPlayerPlugin())","\/\/ Use the selected plugin for playback","pluginManager.selectedPlugin?.play()"]}],"kind":"contentAndMedia","mediaPosition":"trailing"}],"title":"Video Player Plugins (Optional)","anchor":"Video-Player-Plugins-Optional","stepsSection":[{"code":null,"media":null,"runtimePreview":null,"type":"step","caption":[],"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 1:","type":"text"}]},{"type":"text","text":" Implement your custom player plugin conforming to the "},{"type":"codeVoice","code":"VideoPlayerPlugin"},{"type":"text","text":" protocol."}]}]},{"type":"step","media":null,"runtimePreview":null,"caption":[],"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 2:","type":"text"}]},{"text":" Register your custom plugin with the manager and use the selected plugin for playback.","type":"text"}]}],"code":null}]},{"stepsSection":[],"anchor":"Error-Handling","contentSection":[{"mediaPosition":"trailing","content":[{"type":"paragraph","inlineContent":[{"text":"The library propagates errors through completion handlers. You can handle these errors to provide appropriate feedback to the user.","type":"text"}]},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Example:"}]}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Swift"}]},{"type":"codeListing","syntax":null,"code":["PlaybackSDKManager.shared.initialize(apiKey: \"YOUR_API_KEY\") { result in"," switch result {"," case .success:"," print(\"Playback SDK initialized successfully.\")",""," let entryId = \"YOUR_ENTRY_ID\""," let authorizationToken = \"YOUR_AUTHORIZATION_TOKEN\" \/\/ optional",""," PlaybackUIView(entryId: entryId, authorizationToken: authorizationToken)"," case .failure(let error):"," print(\"Error initializing Playback SDK: \\(error)\")"," }","}"]}],"kind":"contentAndMedia"}],"title":"Error Handling"}],"kind":"tasks"}],"identifier":{"url":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/playbacksdk\/customplugintutorial"]}],"kind":"project","hierarchy":{"paths":[["doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/$volume","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Creating-a-Custom-Playback-Player-Plugin"]],"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","modules":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","projects":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Installation","kind":"task"},{"kind":"task","reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Video-Player-Plugins-Optional"},{"kind":"task","reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Error-Handling"}]}]},{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Creating-a-Custom-Playback-Player-Plugin","projects":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Video-Player-Plugins-Optional","kind":"task"},{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Error-Handling","kind":"task"}]}]}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"metadata":{"category":"PlaybackSDK Tutorial","role":"project","title":"Playback SDK Overview","categoryPathComponent":"Table-Of-Contents"},"references":{"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"role":"project","type":"topic","estimatedTime":"30min","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"title":"Playback SDK Overview","url":"\/tutorials\/playbacksdk\/getstarted","kind":"project","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Installation":{"role":"pseudoSymbol","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Installation","title":"Installation","kind":"section","type":"section","url":"\/tutorials\/playbacksdk\/getstarted#Installation"},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial#Error-Handling":{"url":"\/tutorials\/playbacksdk\/customplugintutorial#Error-Handling","role":"pseudoSymbol","kind":"section","title":"Error Handling","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"type":"section","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Error-Handling"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Creating-a-Custom-Playback-Player-Plugin":{"role":"article","kind":"article","title":"Creating a Custom Playback Player Plugin","abstract":[],"url":"\/tutorials\/table-of-contents\/creating-a-custom-playback-player-plugin","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Creating-a-Custom-Playback-Player-Plugin"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"role":"overview","kind":"overview","title":"Introduction to PlaybackSDK","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","url":"\/tutorials\/table-of-contents","abstract":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"type":"topic"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Getting-Started":{"role":"article","kind":"article","title":"Getting Started","abstract":[],"url":"\/tutorials\/table-of-contents\/getting-started","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial":{"url":"\/tutorials\/playbacksdk\/customplugintutorial","kind":"project","role":"project","estimatedTime":"30min","title":"Playback SDK Overview","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Video-Player-Plugins-Optional":{"role":"pseudoSymbol","kind":"section","title":"Video Player Plugins (Optional)","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Video-Player-Plugins-Optional","url":"\/tutorials\/playbacksdk\/getstarted#Video-Player-Plugins-Optional","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"type":"section"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Error-Handling":{"role":"pseudoSymbol","kind":"section","title":"Error Handling","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"url":"\/tutorials\/playbacksdk\/getstarted#Error-Handling","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Error-Handling","type":"section"},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial#Video-Player-Plugins-Optional":{"url":"\/tutorials\/playbacksdk\/customplugintutorial#Video-Player-Plugins-Optional","title":"Video Player Plugins (Optional)","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Video-Player-Plugins-Optional","type":"section","kind":"section","role":"pseudoSymbol","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}]}}} \ No newline at end of file diff --git a/docs/data/tutorials/playbacksdk/getstarted.json b/docs/data/tutorials/playbacksdk/getstarted.json index 7619af5..593fce0 100644 --- a/docs/data/tutorials/playbacksdk/getstarted.json +++ b/docs/data/tutorials/playbacksdk/getstarted.json @@ -1 +1 @@ -{"sections":[{"chapter":"Getting Started","kind":"hero","title":"Playback SDK Overview","estimatedTimeInMinutes":30,"content":[{"inlineContent":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Key Features:","type":"text"}]}]},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Abstraction:"}],"type":"strong"},{"type":"text","text":" Hides the complexities of underlying video APIs, allowing you to focus on the core playback experience."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Flexibility:"}]},{"text":" Supports different video providers and allows the creation of custom playback plugins for extended functionalities.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"text":"Error Handling:","type":"text"}]},{"type":"text","text":" Provides mechanisms to handle potential issues during playback and notify your application."}],"type":"paragraph"}]}],"type":"unorderedList"}]},{"kind":"tasks","tasks":[{"title":"Installation","contentSection":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"To install the Playback SDK, follow these steps:"}]},{"type":"orderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Add the Playback SDK dependency to your project using Swift Package Manager."}]}]}]},{"inlineContent":[{"type":"text","text":"Swift"}],"type":"paragraph"},{"type":"codeListing","syntax":null,"code":["dependencies: ["," .package(url: \"https:\/\/github.com\/your-organization\/playback-sdk.git\", .branch(\"master\"))","]"]},{"type":"orderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"text":"Import the ","type":"text"},{"code":"PlaybackSDK","type":"codeVoice"},{"text":" module in your Swift files.","type":"text"}]}]}],"start":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"Swift"}]},{"type":"codeListing","code":["import PlaybackSDK"],"syntax":null}],"mediaPosition":"trailing","kind":"contentAndMedia"}],"anchor":"Installation","stepsSection":[{"code":"InitializeSdkExample.swift","caption":[],"media":null,"runtimePreview":null,"type":"step","content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Step 1:"}],"type":"strong"},{"type":"text","text":" Initialize the Playback SDK by providing your API key."}]}]},{"media":null,"runtimePreview":null,"type":"step","code":"LoadHlsStreamTutorial.swift","content":[{"inlineContent":[{"inlineContent":[{"type":"text","text":"Step 2:"}],"type":"strong"},{"type":"text","text":" Load HLS Stream by providing the entry ID and optional authorization token."}],"type":"paragraph"}],"caption":[]},{"caption":[],"runtimePreview":null,"type":"step","code":"InstallPlayerPluginTutorial.swift","content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Step 3:"}],"type":"strong"},{"text":" Add player plugin. Note: This should be done in the AppDelegate.","type":"text"}]}],"media":null},{"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 4:","type":"text"}]},{"type":"text","text":" Load the player view in your player view and handle errors."}]}],"media":null,"caption":[],"type":"step","code":"LoadPlayerViewTutorial.swift"}]},{"title":"Video Player Plugins (Optional)","contentSection":[{"content":[{"inlineContent":[{"type":"text","text":"The Playback SDK supports extending functionalities through custom video player plugins. These plugins can provide extended functionalities or integrate with third-party video players. Refer to the full source code for details on creating custom plugins."}],"type":"paragraph"},{"type":"codeListing","syntax":"swift","code":["\/\/ Implement your custom player plugin conforming to VideoPlayerPlugin protocol","","\/\/ Register your custom plugin with the manager","let pluginManager = VideoPlayerPluginManager.shared","pluginManager.registerPlugin(YourCustomPlayerPlugin())","\/\/ Use the selected plugin for playback","pluginManager.selectedPlugin?.play()"]}],"kind":"contentAndMedia","mediaPosition":"trailing"}],"stepsSection":[{"type":"step","code":null,"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Step 1:"}]},{"type":"text","text":" Implement your custom player plugin conforming to the "},{"code":"VideoPlayerPlugin","type":"codeVoice"},{"text":" protocol.","type":"text"}]}],"caption":[],"media":null},{"code":null,"runtimePreview":null,"caption":[],"media":null,"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 2:","type":"text"}]},{"text":" Register your custom plugin with the manager and use the selected plugin for playback.","type":"text"}],"type":"paragraph"}],"type":"step"}],"anchor":"Video-Player-Plugins-Optional"},{"title":"Error Handling","contentSection":[{"mediaPosition":"trailing","kind":"contentAndMedia","content":[{"type":"paragraph","inlineContent":[{"text":"The library propagates errors through completion handlers. You can handle these errors to provide appropriate feedback to the user.","type":"text"}]},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Example:","type":"text"}]}]},{"inlineContent":[{"type":"text","text":"Swift"}],"type":"paragraph"},{"type":"codeListing","code":["PlaybackSDKManager.shared.initialize(apiKey: \"YOUR_API_KEY\") { result in"," switch result {"," case .success:"," print(\"Playback SDK initialized successfully.\")",""," let entryId = \"YOUR_ENTRY_ID\""," let authorizationToken = \"YOUR_AUTHORIZATION_TOKEN\" \/\/ optional",""," PlaybackUIView(entryId: entryId, authorizationToken: authorizationToken)"," case .failure(let error):"," print(\"Error initializing Playback SDK: \\(error)\")"," }","}"],"syntax":null}]}],"anchor":"Error-Handling","stepsSection":[]}]},{"abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"title":"Playback SDK Overview","kind":"callToAction","action":{"type":"reference","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","isActive":true,"overridingTitle":"Get started","overridingTitleInlineContent":[{"type":"text","text":"Get started"}]},"featuredEyebrow":"Tutorial"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","interfaceLanguage":"swift"},"kind":"project","metadata":{"category":"PlaybackSDK Tutorial","role":"project","title":"Playback SDK Overview","categoryPathComponent":"Table-Of-Contents"},"hierarchy":{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","paths":[["doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/$volume","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"]],"modules":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","projects":[{"sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Installation","kind":"task"},{"kind":"task","reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Video-Player-Plugins-Optional"},{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Error-Handling","kind":"task"}],"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"}]},{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Creating-a-Custom-Playback-Player-Plugin","projects":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Video-Player-Plugins-Optional","kind":"task"},{"kind":"task","reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Error-Handling"}]}]}]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/playbacksdk\/getstarted"]}],"references":{"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"url":"\/tutorials\/table-of-contents","title":"Introduction to PlaybackSDK","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","kind":"overview","type":"topic","role":"overview","abstract":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial#Video-Player-Plugins-Optional":{"url":"\/tutorials\/playbacksdk\/customplugintutorial#Video-Player-Plugins-Optional","title":"Video Player Plugins (Optional)","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Video-Player-Plugins-Optional","type":"section","kind":"section","role":"pseudoSymbol","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial":{"url":"\/tutorials\/playbacksdk\/customplugintutorial","kind":"project","role":"project","estimatedTime":"30min","title":"Playback SDK Overview","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Installation":{"role":"pseudoSymbol","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Installation","title":"Installation","kind":"section","type":"section","url":"\/tutorials\/playbacksdk\/getstarted#Installation"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Creating-a-Custom-Playback-Player-Plugin":{"role":"article","kind":"article","title":"Creating a Custom Playback Player Plugin","abstract":[],"url":"\/tutorials\/table-of-contents\/creating-a-custom-playback-player-plugin","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Creating-a-Custom-Playback-Player-Plugin"},"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial#Error-Handling":{"url":"\/tutorials\/playbacksdk\/customplugintutorial#Error-Handling","role":"pseudoSymbol","kind":"section","title":"Error Handling","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"type":"section","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial#Error-Handling"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Getting-Started":{"role":"article","kind":"article","title":"Getting Started","abstract":[],"url":"\/tutorials\/table-of-contents\/getting-started","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Error-Handling":{"url":"\/tutorials\/playbacksdk\/getstarted#Error-Handling","title":"Error Handling","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Error-Handling","kind":"section","type":"section","role":"pseudoSymbol","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}]},"InitializeSdkExample.swift":{"fileType":"","fileName":"InitializeSdkExample","content":["\/\/","\/\/ InitializeSdkExample.swift","\/\/ ","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import PlaybackSDK","","PlaybackSDKManager.shared.initialize(apiKey: \"YOUR_API_KEY\") { result in"," switch result {"," case .success:"," print(\"Playback SDK initialized successfully.\")"," case .failure(let error):"," print(\"Error initializing Playback SDK: \\(error)\")"," }","}"],"highlights":[],"syntax":"","type":"file","identifier":"InitializeSdkExample.swift"},"InstallPlayerPluginTutorial.swift":{"fileType":"","fileName":"InstallPlayerPluginTutorial","content":["\/\/","\/\/ InstallPlayerPluginTutorial.swift","\/\/","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import Foundation","","PlayBackSDKManager.shared.initialize(apiKey: settingsManager.apiKey, baseURL: settingsManager.baseURL) { result in"," switch result {"," case .success(let license):"," print(\"SDK initialized with license: \\(license)\")"," "," \/\/ Add player plugin"," let bitmovinPlugin = BitmovinPlayerPlugin()"," VideoPlayerPluginManager.shared.registerPlugin(bitmovinPlugin)"," "," case .failure(let error):"," print(\"SDK initialization failed with error: \\(error)\")"," }","}"],"highlights":[],"syntax":"","type":"file","identifier":"InstallPlayerPluginTutorial.swift"},"LoadHlsStreamTutorial.swift":{"fileType":"","fileName":"LoadHlsStreamTutorial","content":["\/\/","\/\/ LoadHlsStreamTutorial.swift","\/\/ ","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import Foundation","","import SwiftUI","","internal struct ContentView: View {"," let entryId = \"YOUR_ENTRY_ID\""," let authorizationToken = \"YOUR_AUTHORIZATION_TOKEN\" \/\/ optional","",""," var body: some View {"," PlaybackUIView(entryId: entryId, authorizationToken: authorizationToken)"," }","}","","struct ContentView_Previews: PreviewProvider {"," static var previews: some View {"," ContentView()"," }","}"],"highlights":[],"syntax":"","type":"file","identifier":"LoadHlsStreamTutorial.swift"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Video-Player-Plugins-Optional":{"role":"pseudoSymbol","kind":"section","title":"Video Player Plugins (Optional)","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Video-Player-Plugins-Optional","url":"\/tutorials\/playbacksdk\/getstarted#Video-Player-Plugins-Optional","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"type":"section"},"LoadPlayerViewTutorial.swift":{"fileType":"","fileName":"LoadPlayerViewTutorial","content":["\/\/","\/\/ LoadPlayerViewTutorial.swift","\/\/ ","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import Foundation","","PlayBackSDKManager.shared.loadPlayer(entryID: settingsManager.entryId, authorizationToken: settingsManager.authorizationToken, onError: { error in"," \/\/ Handle the error here"," switch error {"," case .apiError(let statusCode, _):"," print(\"\\(statusCode)\")"," default:"," print(\"Error loading HLS stream in PlaybackUIView: \\(error.localizedDescription)\")"," }","})"],"highlights":[],"syntax":"","type":"file","identifier":"LoadPlayerViewTutorial.swift"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"role":"project","type":"topic","estimatedTime":"30min","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"title":"Playback SDK Overview","url":"\/tutorials\/playbacksdk\/getstarted","kind":"project","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"}}} \ No newline at end of file +{"metadata":{"role":"project","categoryPathComponent":"Table-Of-Contents","category":"PlaybackSDK Tutorial","title":"Playback SDK Overview"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/playbacksdk\/getstarted"]}],"hierarchy":{"paths":[["doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/$volume","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"]],"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","modules":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","projects":[{"sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#PlayBack-SDK","kind":"task"}],"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"}]}]},"sections":[{"chapter":"Getting Started","kind":"hero","title":"Playback SDK Overview","estimatedTimeInMinutes":30,"content":[{"inlineContent":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Key Features:"}]}]},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"inlineContent":[{"type":"text","text":"Abstraction:"}],"type":"strong"},{"type":"text","text":" Hides the complexities of underlying video APIs, allowing you to focus on the core playback experience."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Flexibility:"}]},{"type":"text","text":" Supports different video providers and allows the creation of custom playback plugins for extended functionalities."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Error Handling:"}]},{"type":"text","text":" Provides mechanisms to handle potential issues during playback and notify your application."}]}]}]}]},{"tasks":[{"stepsSection":[{"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Step 1:"}],"type":"strong"},{"type":"text","text":" Initialize the Playback SDK by providing your API key and register the default player plugin."},{"text":" ","type":"text"},{"type":"strong","inlineContent":[{"text":"Make sure this step is done when the app starts.","type":"text"}]}]}],"caption":[],"code":"PlayBackDemoApp.swift","type":"step","media":null,"runtimePreview":null},{"caption":[{"type":"paragraph","inlineContent":[{"text":"In this step, the code utilizes the ","type":"text"},{"type":"strong","inlineContent":[{"type":"text","text":"loadPlayer"}]},{"type":"text","text":" function provided by the Playback SDK to initialize and load the video player. The function takes the entry ID and authorization token as parameters. Additionally, it includes a closure to handle any potential playback errors that may occur during the loading process."},{"type":"text","text":" "},{"type":"text","text":"The "},{"inlineContent":[{"text":"handlePlaybackError","type":"text"}],"type":"strong"},{"text":" function is called within the closure to handle the playback errors. It switches on the type of error received and provides appropriate error handling based on the type of error encountered.","type":"text"},{"type":"text","text":" "},{"text":"The code also includes a placeholder comment to indicate where the removal of the player could be implemented in the ","type":"text"},{"inlineContent":[{"text":"onDisappear","type":"text"}],"type":"strong"},{"type":"text","text":" modifier."}]}],"content":[{"inlineContent":[{"inlineContent":[{"text":"Step 2:","type":"text"}],"type":"strong"},{"text":"","type":"text"},{"text":" ","type":"text"},{"text":"Load the player using the Playback SDK and handle any playback errors.","type":"text"}],"type":"paragraph"}],"runtimePreview":null,"media":null,"code":"PlayerTestView.swift","type":"step"}],"title":"PlayBack SDK","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Explore how to use StreamAMG PlayBack SDK."}],"type":"strong"}]}]}],"anchor":"PlayBack-SDK"}],"kind":"tasks"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"project","references":{"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"title":"Playback SDK Overview","url":"\/tutorials\/playbacksdk\/getstarted","kind":"project","type":"topic","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","role":"project","estimatedTime":"30min"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#PlayBack-SDK":{"kind":"section","type":"section","role":"pseudoSymbol","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"title":"PlayBack SDK","url":"\/tutorials\/playbacksdk\/getstarted#PlayBack-SDK","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#PlayBack-SDK"},"PlayerTestView.swift":{"fileType":"swift","type":"file","fileName":"PlayerTestView.swift","identifier":"PlayerTestView.swift","content":["\/\/","\/\/ LoadPlayerViewTutorial.swift","\/\/","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import SwiftUI","import PlaybackSDK","","struct PlayerTestView: View {"," "," private let entryID = \"ENTRY_ID\""," private let authorizationToken = \"JWT_TOKEN\""," "," var body: some View {"," VStack {"," \/\/ Load player with the playback SDK"," PlayBackSDKManager.shared.loadPlayer(entryID: entryID, authorizationToken: authorizationToken) { error in"," handlePlaybackError(error)"," }"," .onDisappear {"," \/\/ Remove the player here"," }"," Spacer()"," }"," .padding()"," }"," "," private func handlePlaybackError(_ error: PlaybackError) {"," switch error {"," case .apiError(let statusCode, let errorMessage):"," print(\"\\(errorMessage) Status Code \\(statusCode)\")"," errorMessage = \"\\(errorMessage) Status Code \\(statusCode)\""," default:"," print(\"Error loading HLS stream in PlaybackUIView: \\(error.localizedDescription)\")"," errorMessage = \"Error code and errorrMessage not found: \\(error.localizedDescription)\""," }"," }"," ","}"],"highlights":[],"syntax":"swift"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Getting-Started":{"url":"\/tutorials\/table-of-contents\/getting-started","abstract":[],"type":"topic","role":"article","kind":"article","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","title":"Getting Started"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","abstract":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","title":"Introduction to PlaybackSDK","type":"topic"},"PlayBackDemoApp.swift":{"fileType":"swift","syntax":"swift","type":"file","fileName":"PlayBackDemoApp.swift","content":["\/\/","\/\/ InitializeSdkExample.swift","\/\/","\/\/","\/\/ Created by Franco Driansetti on 27\/02\/2024.","\/\/","","import SwiftUI","import PlaybackSDK","","@main","struct PlayBackDemoApp: App {"," "," let sdkManager = PlayBackSDKManager()"," let apiKey = \"API_KEY\""," var body: some Scene {"," WindowGroup {"," HomeView()"," }"," }"," "," init() {"," \/\/ Initialize the Playback SDK with the provided API key and base URL"," PlayBackSDKManager.shared.initialize(apiKey: apiKey) { result in"," switch result {"," case .success(let license):"," \/\/ Obtained license upon successful initialization"," print(\"SDK initialized with license: \\(license)\")"," "," \/\/ Register the video player plugin"," let bitmovinPlugin = BitmovinPlayerPlugin()"," VideoPlayerPluginManager.shared.registerPlugin(bitmovinPlugin)"," "," case .failure(let error):"," \/\/ Print an error message and set initializationError flag upon initialization failure"," print(\"SDK initialization failed with error: \\(error)\")"," "," }"," }"," }","}"],"identifier":"PlayBackDemoApp.swift","highlights":[]}}} \ No newline at end of file diff --git a/docs/data/tutorials/table-of-contents.json b/docs/data/tutorials/table-of-contents.json index 4fc065a..5cda535 100644 --- a/docs/data/tutorials/table-of-contents.json +++ b/docs/data/tutorials/table-of-contents.json @@ -1 +1 @@ -{"sections":[{"kind":"hero","title":"Introduction to PlaybackSDK","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]}],"action":{"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","isActive":true,"type":"reference","overridingTitle":"Get started","overridingTitleInlineContent":[{"text":"Get started","type":"text"}]}},{"chapters":[{"name":"Getting Started","tutorials":["doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"],"image":"ios-marketing.png","content":[{"inlineContent":[{"type":"text","text":"In this chapter, we’ll start by setting up the PlaybackSDK in your Xcode project and understanding its basic components."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"In this chapter, we’ll learn how to create a custom Playback Player Plugin using your favorite video player."}],"type":"paragraph"}],"tutorials":["doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial"],"image":"ios-marketing.png","name":"Creating a Custom Playback Player Plugin"}],"kind":"volume","image":null,"name":null,"content":[]},{"kind":"resources","tiles":[{"identifier":"documentation","title":"Documentation","content":[{"type":"paragraph","inlineContent":[{"text":"Browse and search the PlaybackSDK documentation.","type":"text"}]},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"reference","identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","isActive":true}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","identifier":"https:\/\/streamamg.stoplight.io","isActive":true}]}]}]}]}],"content":[{"inlineContent":[{"type":"text","text":"Explore more resources for learning about PlaybackSDK."}],"type":"paragraph"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents"},"kind":"overview","metadata":{"category":"PlaybackSDK Tutorial","estimatedTime":"1hr 0min","categoryPathComponent":"Table-Of-Contents","role":"overview","title":"Introduction to PlaybackSDK"},"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","paths":[]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/table-of-contents"]}],"references":{"doc://PlaybackSDK/tutorials/PlaybackSDK/CustomPluginTutorial":{"url":"\/tutorials\/playbacksdk\/customplugintutorial","kind":"project","role":"project","estimatedTime":"30min","title":"Playback SDK Overview","type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/CustomPluginTutorial","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}]},"https://streamamg.stoplight.io":{"type":"link","titleInlineContent":[{"text":"Stoplight Documentation","type":"text"}],"url":"https:\/\/streamamg.stoplight.io","identifier":"https:\/\/streamamg.stoplight.io","title":"Stoplight Documentation"},"ios-marketing.png":{"type":"image","identifier":"ios-marketing.png","alt":"Creating a Custom Playback Player Plugin","variants":[{"url":"\/images\/ios-marketing.png","traits":["1x","light"]}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"role":"project","type":"topic","estimatedTime":"30min","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"title":"Playback SDK Overview","url":"\/tutorials\/playbacksdk\/getstarted","kind":"project","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"},"https://github.com/StreamAMG/playback-sdk-ios/tree/main":{"titleInlineContent":[{"text":"GitHub Repository","type":"text"}],"title":"GitHub Repository","identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"link","url":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"title":"Introduction to PlaybackSDK","kind":"overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","abstract":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"type":"topic","url":"\/tutorials\/table-of-contents","role":"overview"}}} \ No newline at end of file +{"hierarchy":{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","paths":[]},"sections":[{"content":[{"inlineContent":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"type":"paragraph"}],"title":"Introduction to PlaybackSDK","action":{"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","isActive":true,"overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"overridingTitle":"Get started","type":"reference"},"kind":"hero"},{"chapters":[{"name":"Getting Started","content":[{"inlineContent":[{"text":"In this chapter, we’ll start by setting up the PlaybackSDK from the initialisation to load the PlayBack Player Plugin.","type":"text"}],"type":"paragraph"}],"tutorials":["doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"],"image":"ios-marketing.png"}],"name":null,"kind":"volume","image":null,"content":[]},{"tiles":[{"title":"Documentation","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Browse and search the PlaybackSDK documentation."}]},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","isActive":true,"type":"reference"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/streamamg.stoplight.io"}]}]}],"type":"unorderedList"}],"identifier":"documentation"}],"content":[{"type":"paragraph","inlineContent":[{"text":"Explore more resources for learning about PlaybackSDK.","type":"text"}]}],"kind":"resources"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/table-of-contents"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents"},"metadata":{"estimatedTime":"30min","categoryPathComponent":"Table-Of-Contents","title":"Introduction to PlaybackSDK","category":"PlaybackSDK Tutorial","role":"overview"},"kind":"overview","references":{"https://github.com/StreamAMG/playback-sdk-ios/tree/main":{"title":"GitHub Repository","identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"link","url":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","titleInlineContent":[{"type":"text","text":"GitHub Repository"}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"url":"\/tutorials\/playbacksdk\/getstarted","title":"Playback SDK Overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","kind":"project","estimatedTime":"30min","type":"topic","role":"project"},"ios-marketing.png":{"identifier":"ios-marketing.png","variants":[{"traits":["1x","light"],"url":"\/images\/ios-marketing.png"}],"type":"image","alt":"Getting Started with PlaybackSDK"},"https://streamamg.stoplight.io":{"title":"Stoplight PlayBack API","identifier":"https:\/\/streamamg.stoplight.io","titleInlineContent":[{"text":"Stoplight PlayBack API","type":"text"}],"type":"link","url":"https:\/\/streamamg.stoplight.io"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"role":"overview","kind":"overview","url":"\/tutorials\/table-of-contents","abstract":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","title":"Introduction to PlaybackSDK","type":"topic"}}} \ No newline at end of file diff --git a/docs/index/index.json b/docs/index/index.json index c7610e0..ab598fb 100644 --- a/docs/index/index.json +++ b/docs/index/index.json @@ -1 +1 @@ -{"interfaceLanguages":{"swift":[{"children":[{"title":"Getting Started","type":"groupMarker"},{"path":"\/tutorials\/playbacksdk\/getstarted","title":"Playback SDK Overview","type":"project"},{"title":"Creating a Custom Playback Player Plugin","type":"groupMarker"},{"path":"\/tutorials\/playbacksdk\/customplugintutorial","title":"Playback SDK Overview","type":"project"}],"path":"\/tutorials\/table-of-contents","title":"Introduction to PlaybackSDK","type":"overview"},{"path":"\/documentation\/playbacksdk","title":"PlaybackSDK","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":1}} \ No newline at end of file +{"interfaceLanguages":{"swift":[{"children":[{"title":"Getting Started","type":"groupMarker"},{"path":"\/tutorials\/playbacksdk\/getstarted","title":"Playback SDK Overview","type":"project"}],"path":"\/tutorials\/table-of-contents","title":"Introduction to PlaybackSDK","type":"overview"},{"path":"\/documentation\/playbacksdk","title":"PlaybackSDK","type":"module"}]},"schemaVersion":{"major":0,"minor":1,"patch":1}} \ No newline at end of file diff --git a/docs/metadata.json b/docs/metadata.json index 3988104..2820538 100644 --- a/docs/metadata.json +++ b/docs/metadata.json @@ -1 +1 @@ -{"bundleIdentifier":"PlaybackSDK","bundleDisplayName":"PlaybackSDK","schemaVersion":{"major":0,"minor":1,"patch":0}} \ No newline at end of file +{"bundleIdentifier":"PlaybackSDK","bundleDisplayName":"PlaybackSDK","schemaVersion":{"major":0,"patch":0,"minor":1}} \ No newline at end of file diff --git a/docs/theme-settings.json b/docs/theme-settings.json old mode 100755 new mode 100644 index 85e45f4..0fd159a --- a/docs/theme-settings.json +++ b/docs/theme-settings.json @@ -4,4 +4,4 @@ "documentation-intro-fill": "rebeccapurple" } } -} \ No newline at end of file +} diff --git a/docs/tutorials/playbacksdk/customplugintutorial/index.html b/docs/tutorials/playbacksdk/customplugintutorial/index.html deleted file mode 100644 index 6bdec82..0000000 --- a/docs/tutorials/playbacksdk/customplugintutorial/index.html +++ /dev/null @@ -1 +0,0 @@ -Documentation
\ No newline at end of file