-
Notifications
You must be signed in to change notification settings - Fork 47
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
Smart Tv Samsung Player #777
Comments
Hi, thank you for your interesting. You may need to add *_tizen packages. like this.. http: ^1.2.2
flutter_animate: ^4.5.0
youtube_player_flutter: ^9.0.3
flutter_native_splash: ^2.4.1
device_uuid: ^0.0.4
hive_flutter: ^1.1.0
intl: ^0.19.0
google_fonts: ^6.2.1
heroicons_flutter: ^0.4.0
wakelock_plus: ^1.2.8
# connectivity_plus: ^5.0.1
connectivity_plus: ^6.1.0
connectivity_plus_tizen: ^1.2.0
# url_launcher: ^6.3.0
url_launcher: ^6.1.0
url_launcher_tizen: ^2.1.2
dio: ^5.6.0
email_otp: ^2.1.2
font_awesome_flutter: ^10.7.0
# video_player: ^2.9.2
video_player_avplay: ^0.5.5
fvp: ^0.27.0
flutter_bloc: ^8.1.6
equatable: ^2.0.5
cached_network_image: ^3.4.1
media_kit: ^1.1.11 # Primary package.
media_kit_video: ^1.2.5 # For video rendering.
media_kit_libs_video: ^1.0.5 # Native video dependencies.
dpad_container: ^2.0.4
# In use in above packages
package_info_plus_tizen: ^1.0.4
sqflite_tizen: ^0.1.3 But there seem to be some problems.
Thanks |
thank you so mush sir for your helping: ****can you please tell me what is solution or alternative working with It seems to use youtube_player_flutter. Best Reagards. |
Hi
youtube_player_flutter is implemented using flutter_inappwebview. We do not support flutter_inappwebview. Therefore, youtube_player_flutter does not work on tizen. The only alternative is youtube_player_iframe. This plugin is implemented using flutter_webview, and since Tizen supports flutter_webview, if you change some of the internal code of youtube_player_iframe, it will work on Tizen TV. However, there are some issues due to Tizen TV webview. In webview, youtube video rendering is drawn on the surface for video play, not the webview surface. Therefore, the backgroundColor of the player and the scaffold(container) containing the player must be transparent.
The lottie package has no platform dependency, so there is no problem running it on tizen. |
you are helpful <3 thank you so mush. what about this please: https://pub.dev/packages/pod_player |
If you add video_player_tizen and run the example, everything works fine except for youtube play and vimeo play. y_player uses media_kit, and since the media_kit_video plugin has implementation code for each platform, it seems to be platform dependent, and the tizen does not support it because there is no implementation for this. |
If i test youtube package in emulator and working good in emulator should be work good in real device?! |
The behavior of the emulator is not 100% guaranteed to work on a real TV device. Each TVs vary in model and device performance. |
can you tell me if this package video player working with no problem with tizen: and this for youtube trailer its video player to: thank you so much for your help<3, i purchased yesterday tv tizen 8 2024 for testing, |
I don't know much about fvp, but when I looked at fvp's git, it looks like fvp is a player implemented using libmdk while utilizing the interface of video_player.
In the case of youtube_captioned_player.. I couldn't find a special platform dependency, |
Supporting youtube in flutter-tizen is our long-standing task. When I modified and checked it as below, I found out that the reason why the video is not displayed is that there are sources that do not provided video_player: ^2.9.2
+ video_player_tizen: ^2.5.4 ...
- manifest = await yt.videos.streamsClient.getManifest(videoId);
+ manifest = await yt.videos.streams.getManifest(videoId);
+ print(manifest);
...
- final videoStreamInfo = manifest.muxed.withHighestBitrate();
+ if (manifest.muxed.isEmpty) {
+ final videoStreamInfo = manifest.video.withHighestBitrate();
+ videoUrl = videoStreamInfo.url.toString();
+ } else {
+ final videoStreamInfo = manifest.muxed.withHighestBitrate();
+ videoUrl = videoStreamInfo.url.toString();
+ }
|
No problem i integred youtube_player_iframe like you told me, |
Hey Sir; video5958560609669751025.mp4and i integrate the youtube_flutter_iframe like you told me and its not working give me wihte screen. video5958560609669751029.mp4Thank you so mush for all ur supprot. |
any help please ? |
Did you apply the appropriate privileges to video_player_avplay? I recommend that you first test the test url of the video you want to play in the examples of video_player_tizen and video_player_avplay. You need to make some code changes to use youtube_flutter_iframe. |
i test the video player tizen its work but av play not |
example of video_player_avplay give me this errors: (:11905): GStreamer-WARNING **: 05:02:36.295: Failed to load plugin '/lib/gstreamer-1.0/libgstffmpeg.so': libclearkey.so.0: cannot open shared object file: Operation not permitted |
Did you add privilege to tizen-manifest.xml? @xiaowei-guan Could you please check this? |
@isnzenauz Hello, did you change the ap-version to 8.0? <manifest package="org.tizen.video_player_avplay_example" version="1.0.0" api-version="8.0" xmlns="http://tizen.org/ns/packages"> |
Yes sir, already do it in tizen-manifest.xml |
ANy help please ? |
Hello, you should run flutter-tizen clean after change api-version to 8.0. you can try this first. if you still has this issue, are you a parthner of samsung? I think you shoud sign the app with partner level certificate. |
Every modification i do flutter-tizen clean, I sign the project with certificate with ly account samsung in studio tize and i give the device permission install apps, If you have ready project i will happy to run it to see if the problem from me because i test the examples and my project to is not working |
@isnzenauz Could you please refer to this page(https://developer.samsung.com/tv-seller-office/guides/membership/becoming-partner.html), if you want to use avplay plugin, you shoudl become a partner first, then you can create a partner level certificate to sign the app. if still can't use launch the sample app, I will request a USB certificate for you. |
@xiaowei-guan im trying to get partner but i cant ? |
any one of support can help me about this content manage because his refuse my email adresses |
The Email that need to be filled in is not yours, it's samsung content's manager Email. https://seller.samsungapps.com/tv/membership/group-information |
I do it but where i can get email of Samsung content manger |
can you try this guide: |
If still doesn't work, you can create a QA at here: |
thanks i already open the qa i will see what happen with support and i will tell u |
the support his give me email of content manager and i request the partnership im still waiting to approve it |
Hey Flutter-Tizen Team,
Thanks for this a lot of support its a good job, thanks again.
Im build app of media player to display content of m3u8, not included channels its pure media player.
so i need to publish it to samsung store, the app already working stabel in android phones and android tv, web too.
In liste below my dependencies, i need to know if will work good in samsung tvs,
and what is good for me to display video lives and vods with good rendring no lags its vido_player_tizen or video_player_videohole, video_player_avplay
if its video_player_videohole or avplay can you please tell me how i will integrate it, and with videohole - avplay can i use just TV Emulator to test the player without Real Device
Thank you so mush <3.
Best regards
name: SAID Media TV PLAYER
description: A SUPER TV MEDIA PLAYER.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: '>=3.3.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
http: ^1.2.2
flutter_animate: ^4.5.0
youtube_player_flutter: ^9.0.3
flutter_native_splash: ^2.4.1
device_uuid: ^0.0.4
hive_flutter: ^1.1.0
intl: ^0.19.0
google_fonts: ^6.2.1
heroicons_flutter: ^0.4.0
wakelock_plus: ^1.2.8
connectivity_plus: ^5.0.1
url_launcher: ^6.3.0
dio: ^5.6.0
email_otp: ^2.1.2
font_awesome_flutter: ^10.7.0
video_player: ^2.9.2
fvp: ^0.27.0
flutter_bloc: ^8.1.6
equatable: ^2.0.5
cached_network_image: ^3.4.1
media_kit: ^1.1.11 # Primary package.
media_kit_video: ^1.2.5 # For video rendering.
media_kit_libs_video: ^1.0.5 # Native video dependencies.
dpad_container: ^2.0.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_native_splash:
android: true
color: "#352A6E"
image: assets/images/splash_logo.png
fullscreen: true
android_12:
image: assets/images/splash_logo.png
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/images/animated/
The text was updated successfully, but these errors were encountered: