diff --git a/README.md b/README.md index d832ada..ddc1e35 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Once instantiated, you need to initialize the controller by calling its `initial ```dart final ApiVideoPlayerController controller = ApiVideoPlayerController( - videoOptions: VideoOptions(videoId: 'VIDEO_ID'), + videoOptions: VideoOptions(videoId: 'VIDEO_ID'), // `VIDEO_ID` is the video id or the live stream id // For private video: VideoOptions(videoId: "YOUR_VIDEO_ID", token: "YOUR_PRIVATE_TOKEN") ); diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index e467606..45bdfc0 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,8 +1,8 @@ PODS: - apivideo_player (0.0.1): - - ApiVideoPlayer (= 1.1.4) + - ApiVideoPlayer (= 1.2.0) - Flutter - - ApiVideoPlayer (1.1.4): + - ApiVideoPlayer (1.2.0): - ApiVideoPlayerAnalytics (= 1.1.1) - ApiVideoPlayerAnalytics (1.1.1) - Flutter (1.0.0) @@ -28,8 +28,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/pointer_interceptor_ios/ios" SPEC CHECKSUMS: - apivideo_player: 2c473c47bbce886785fee06428dd83a1bf9989b2 - ApiVideoPlayer: 6dbb236f0368acd5b51438e8379fb74ccf48182c + apivideo_player: 1bc03dc30c624f1c49e54dd1112494a5a68476e3 + ApiVideoPlayer: b481969aaea0be3c7edf9e0191a6587db449295a ApiVideoPlayerAnalytics: f8f5e7e0207aefdb99fb97cee081b1693dacae8a Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 pointer_interceptor_ios: 9280618c0b2eeb80081a343924aa8ad756c21375 diff --git a/ios/apivideo_player.podspec b/ios/apivideo_player.podspec index 74ed37d..b06f7b6 100644 --- a/ios/apivideo_player.podspec +++ b/ios/apivideo_player.podspec @@ -15,7 +15,7 @@ A new Flutter plugin project. s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'ApiVideoPlayer', "1.1.4" + s.dependency 'ApiVideoPlayer', "1.2.0" s.platform = :ios, '11.0' # Flutter.framework does not contain a i386 slice. diff --git a/lib/src/apivideo_types.dart b/lib/src/apivideo_types.dart index 13d0727..12f25a6 100644 --- a/lib/src/apivideo_types.dart +++ b/lib/src/apivideo_types.dart @@ -16,7 +16,7 @@ enum VideoType { /// The video options that defines a video on api.video platform. @JsonSerializable() class VideoOptions { - /// The video id from api.video platform. + /// The video id or live stream id from api.video platform. String videoId; /// The video type. Either [VideoType.vod] or [VideoType.live].