-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Updating to v3.5.7 breaks the player, for example at https://tobireif.com/posts/layout_fun_with_css_grid/ #1680
Comments
It would also be really great if users could look at the pull requests to see the changes.
I appreciate this might not be ideal but how do you suggest I make CSS changes without causing this in future? I'm all ears. The options are: CSS-in-JSSomething tiny like goober. Pros: Cons: Major versionsEvery CSS update requires a major version update - i.e. Pros: Cons: |
Perhaps CSS changes (if any are necessary) could be done in none-breaking ways? |
In most cases they are but it's not really possible for me to know every location where the player is used and therefore what external CSS is going to be impacted. |
Regarding the title: The issue is not that "v3.5.7 contains CSS changes" - the issue is that it contains breaking changes. Please leave the original title, or please ensure that the title reflects the issue that I reported. |
It doesn't "break the player" though in the majority of cases. It breaks it in your case. The title was misleading which is why I changed it. |
The release still contains breaking CSS - please re-open the ticket. |
What do you want the issue to achieve? It just seems like a rant. |
While the title tennis is fun, I have better things to do. Your efforts are better spent changing a couple of lines of CSS and moving on. |
Plyr downloads the poster image file several times #1531 instead of once. In order to update to a version which downloads the file twice instead of thrice I was asked to update the v3.5.7 #1531 (comment) . When I did that, my player was destroyed by breaking CSS in that release. It would be great if both of the issues could get resolved.
It it 's more than evident that it sounds like that to you, but it's merely a report describing a technical issue. Complete with a link to an example and with screenshots. |
That's a different issue. I've just replied on that issue and I can't replicate it on the demo site. If others are seeing it multiple times then I'll take a look again or perhaps someone can take a look and open a PR.
Yeah, I totally understand it was an issue but saying to me "can you not do it next time" isn't really a viable solution. CSS changes have to be made sometimes to fix issues - in this case an issue with the player scaling. I try to let users know in the changelog. It's not always worth bumping the major version for such minor things and even if I did it won't solve the issue for you; knowing what the CSS changes were. The only way currently is to look at the PR that I usually do a version bump and filtering for the I'd suspect your issue is to do with Flexbox now being used for the players container. You could simply add |
Yep, in the meantime I found that |
In case someone else has the same issue: This is what I did to fix it for the player on the linked page: In my |
The player at https://tobireif.com/posts/layout_fun_with_css_grid/ gets destroyed by the update.
Before:
With v3.5.7:
It would be really great if you could ensure that updates don't break things 😀
The release notes contain this text: "This update contains CSS changes."
I'd rather be able to update Plyr without having to dig through all the CSS changes and adapt my CSS. (For the linked page I have 87 lines of customization CSS for the Plyr player.)
The text was updated successfully, but these errors were encountered: