Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Full screen Button on flutter web is not working. #36

Closed
jaikrishnachandrasekar opened this issue Jun 25, 2021 · 5 comments
Closed

Full screen Button on flutter web is not working. #36

jaikrishnachandrasekar opened this issue Jun 25, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@jaikrishnachandrasekar
Copy link

When i use this link https://smalldreams.github.io/Web-Example/#/ from pub dev site, full screen button was working fine.

Same Sample when was in the https://github.com/SmallDreams/youtube_plyr_iframe in local, the full screen button is not working.

The issue occured when i tried your package on our project.

Running this Sample https://github.com/SmallDreams/youtube_plyr_iframe, itself reproduces the issue.(Flutter web)

Do i need to configure any other thing from the package.

@jaikrishnachandrasekar jaikrishnachandrasekar added the bug Something isn't working label Jun 25, 2021
@jonafeucht
Copy link
Owner

Seems like the last flutter version broke something.

A workaround is to build and release in the html renderer.
https://github.com/SmallDreams/youtube_plyr_iframe/blob/develop/README.md#web

@jonafeucht jonafeucht self-assigned this Jun 25, 2021
@jaikrishnachandrasekar
Copy link
Author

I think it was fixed in the latest flutter upgrade today, but when we resize the browser window, it is getting weird ui, the console window is showing the error below :

Height of Platform View type: [youtube-player-1063275035] may not be set. Defaulting to height: 100%.
Set style.height to any appropriate value to stop this message.
Width of Platform View type: [youtube-player-1063275035] may not be set. Defaulting to width: 100%.
Set style.width to any appropriate value to stop this message.

@jonafeucht jonafeucht mentioned this issue Jun 28, 2021
@jaikrishnachandrasekar
Copy link
Author

Thanks for the response, when shall we find the release for the fix?

@jonafeucht
Copy link
Owner

For now I've only released a pre release which should fix the error message you're getting, but not the weird ui on resizing.
youtube_plyr_iframe: ^2.0.7-pre.1

@jaikrishnachandrasekar
Copy link
Author

Closing this issue as the full screen issue was fixed in the flutter latest version and choppiness on the UI is from the flutter and i have opened an issue in flutter - flutter/flutter#85522

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants