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

[FEATURE REQUEST] Add support for flutter web #239

Closed
mariyabytes opened this issue Jun 1, 2020 · 1 comment
Closed

[FEATURE REQUEST] Add support for flutter web #239

mariyabytes opened this issue Jun 1, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mariyabytes
Copy link

Is your feature request related to a problem? Please describe.
Right now, there is no good way to embed a youtube video in a flutter webapp. I've used this plugin extensively on Android and IOS, really satisfied with it.

Describe the solution you'd like
If possible, add support for an iframe / webview based youtube player with the same UI that we can embed as a widget. Right now, if I try to run the youtube player on web, get this error :

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following UnsupportedError was thrown building RawYoutubePlayer(dirty, dependencies:
[InheritedYoutubePlayer], state: _RawYoutubePlayerState#63a90):
Unsupported operation: Platform._operatingSystem
The relevant error-causing widget was:
  RawYoutubePlayer

Describe alternatives you've considered
I've tried embedding youtube's official embed player in an iframe but it doesn't seem to work for me.

@mariyabytes mariyabytes added the enhancement New feature or request label Jun 1, 2020
@sarbagyastha
Copy link
Owner

Duplicate of #58.

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

No branches or pull requests

2 participants