-
-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d34746
commit f6d277b
Showing
2 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f6d277b
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.
ImprovedTube.keywords ImprovedTube.title ImprovedTube.category
are not used anywhere
there is something here https://github.com/code-charity/youtube/blob/7f8b0c58ee1c31289b7220e41e406c5d2fb89fed/js%26css/web-accessible/www.youtube.com/player.js#L89-L91C3
but its using uninitialized ImprovedTube.elements.keywords ImprovedTube.elements.title ImprovedTube.elements.category and its some ugly hack to check if current video is a music clip by grepping for weird strings inside title and description :o so this feature was permanently broken :)
//The following infos will enable awesome, smart features. Some of which everyone should use.
whole 'META' is a bad way of going about it, we are comparing 11000 times for something instead of using
once when applicable, etc.
Edit: holy crap player is so broken :o https://github.com/code-charity/youtube/blob/7f8b0c58ee1c31289b7220e41e406c5d2fb89fed/js%26css/web-accessible/www.youtube.com/player.js#L89-L91C3 this thing executes 10x a second no matter what setting playback speed every time until description loads. Ill fix it :/