video_player_tizen

Creator: coderz1093

Last updated:

Add to Cart

Description:

video player tizen

video_player_tizen #

The Tizen implementation of video_player based on the Tizen Media Player API.
Supported devices #
This plugin is NOT supported on TV emulators. This plugin is supported on Galaxy Watch devices and Smart TVs running Tizen 5.5 or above.
Usage #
This package is not an endorsed implementation of video_player. Therefore, you have to include video_player_tizen alongside video_player as dependencies in your pubspec.yaml file.
dependencies:
video_player: ^2.9.1
video_player_tizen: ^2.5.1
copied to clipboard
Then you can import video_player in your Dart code:
import 'package:video_player/video_player.dart';
copied to clipboard
For detailed usage, see https://pub.dev/packages/video_player#example.
Required privileges #
To use this plugin in a Tizen application, you may need to declare the following privileges in your tizen-manifest.xml file.
<privileges>
<privilege>http://tizen.org/privilege/mediastorage</privilege>
<privilege>http://tizen.org/privilege/externalstorage</privilege>
<privilege>http://tizen.org/privilege/internet</privilege>
</privileges>
copied to clipboard

The mediastorage privilege (http://tizen.org/privilege/mediastorage) is required to play video files located in the internal storage.
The externalstorage privilege (http://tizen.org/privilege/externalstorage) is required to play video files located in the external storage.
The internet privilege (http://tizen.org/privilege/internet) is required to play any URL from the network.

For detailed information on Tizen privileges, see Tizen Docs: API Privileges.
Limitations #
This plugin is not supported on TV emulators.
The following options are not supported on Tizen.

The httpHeaders option of VideoPlayerController.networkUrl
VideoPlayerOptions.allowBackgroundPlayback
VideoPlayerOptions.mixWithOthers

This plugin has some limitations on TV devices.

The setPlaybackSpeed method will fail if triggered within the last 3 seconds of the video.
The playback speed will reset to 1.0 when the video is replayed in loop mode.
The seekTo method works only when the playback speed is 1.0, and it sets the video position to the nearest keyframe, not the exact value passed.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.