Skip to content
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

[youtube_player_iframe] How to embed a YouTube player in an app #517

Open
swift-kim opened this issue Jan 19, 2023 · 2 comments
Open

[youtube_player_iframe] How to embed a YouTube player in an app #517

swift-kim opened this issue Jan 19, 2023 · 2 comments
Labels
proposal New plugin request or proposal

Comments

@swift-kim
Copy link
Member

swift-kim commented Jan 19, 2023

To use the youtube_player_iframe plugin on Tizen devices,

The following is a screenshot from a TV device.

Known issues:

  • The app starts in a portrait full screen mode (with the screen rotated 90 degrees counterclockwise) on RPi devices. I'm not sure whether this is a platform bug or an issue with the Tizen embedder. My device image is quite old and I didn't try the latest Tizen 7.0 image though.
  • The video doesn't play very smoothly (or even the app crashes) if the playback speed is larger than 1.0x, even if the video quality is low (480p).
  • TV emulator is not supported.
  • Pressing the back button doesn't properly close the app on TV.
@swift-kim swift-kim added the proposal New plugin request or proposal label Jan 19, 2023
@JSUYA
Copy link
Member

JSUYA commented Mar 21, 2023

Now webview_flutter_tizen v0.7.0 (webview_flutter v4) version is available.
But you need to add below changes.

packages/youtube_player_iframe/lib/src/controller/youtube_player_controller.dart

- 63      )
- 64     ..enableZoom(false);
+ 63     );
+ 64   // ..enableZoom(false);

When testing on my tv device, youtube player displayed full screen when the app was launched. and playback doesn't work normally.

@swift-kim
Copy link
Member Author

@JSUYA I had a similar problem so I posted this issue which may be related: flutter-tizen/embedder#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal New plugin request or proposal
Projects
None yet
Development

No branches or pull requests

2 participants