-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
Porting of old commit #1469
Porting of old commit #1469
Conversation
Port commit fd4f5d9 by @hboyd2003 to v4
Port commit 4fc9265by @hboyd2003 to v4
Port commit 484fd34 by @JuniorGenius to v4
Port 6ae0483 by @MyBestFriend to v4
Port commit 27d848b by @JuniorGenius to v4
Port commit 9401b84 by @samit43 to v4
fix hide autoplay not working move player control option from player to appearance player
Port commit a28e712 by @MyBestFriend to v4
Port commit ead30b1 from @BitbenderM to v4 and more
it cause the whole info bar (title of video) to be missing
Woaw! 😍
Also: #1464 (comment) |
Yup, I'm just too use to the old format, that's why the hide control button previously is not work (I place the code at the wrong location 🙄🤦) |
This reverts commit 539e413.
hi! :) normal! serious question, i meant we are free to chose the exact future format😅 💭💭 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how come playerSize() & init.js
I did not see any playerSize() function so I removed it. I believe player size now use CSS to do the change. I also remove some doubled run code to optimize the code. |
lol, I spell streaming as steaming |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixed "ImprovedTube.playerAutopauseWhenSwitchingTabs is not a function" error
@ImprovedTube I think can merge this PR alr. |
it will only show when show-remaining-duration is enabled
now used the old design
yes! thank you! & sorry to answer late! As said, since the changes came undocumented and unfinished, we can only guess. playerSize is maybe the most used feature & had 100+ lines. Maybe the reference remained, unused to still add a new version? I had wondered long ago if it cant be CSS only, but i dont know if thats a reason now. (And/more strikingly gotta review background.js, satus.js #1464 (comment) ) |
Nice find, it look like it is for custom player size. I updated the old playerSize() so that it depend more on CSS and not JS as JS code is create lag. |
🥰
*so obviously, while some lines can always be shortened, others might have evoled over several steps/bug reports/years, so that not every reason will be guessed, so it would be handy to always see the whole history per line. And if we have to think about one all over, then we could document all our conclusion / reasons. (merging without much review to raise tension 😆 |
Finally port and tested all the old commit. Took awhile to figure out the new format.
Close #1379
Close #1369