diff --git a/packages/video_player/example/lib/main.dart b/packages/video_player/example/lib/main.dart index 0ce77d603..8371d5362 100644 --- a/packages/video_player/example/lib/main.dart +++ b/packages/video_player/example/lib/main.dart @@ -224,9 +224,8 @@ class _BumbleBeeRemoteVideoState extends State<_BumbleBeeRemoteVideo> { void initState() { super.initState(); _controller = VideoPlayerController.networkUrl( - Uri.parse( - 'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4'), - closedCaptionFile: _loadCaptions(), + Uri.parse('https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'), + // closedCaptionFile: _loadCaptions(), videoPlayerOptions: VideoPlayerOptions(mixWithOthers: true), ); diff --git a/packages/video_player/example/tizen/tizen-manifest.xml b/packages/video_player/example/tizen/tizen-manifest.xml index 71fdeb5fe..260ebe578 100644 --- a/packages/video_player/example/tizen/tizen-manifest.xml +++ b/packages/video_player/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/video_player/tizen/src/video_player.cc b/packages/video_player/tizen/src/video_player.cc index b4d4094b3..8532ee1b5 100644 --- a/packages/video_player/tizen/src/video_player.cc +++ b/packages/video_player/tizen/src/video_player.cc @@ -218,6 +218,8 @@ VideoPlayer::VideoPlayer(flutter::PluginRegistrar *plugin_registrar, get_error_message(ret)); } + player_set_video_codec_type(player_, PLAYER_CODEC_TYPE_HW); + ret = player_prepare_async(player_, OnPrepared, this); if (ret != PLAYER_ERROR_NONE) { player_destroy(player_);