summaryrefslogtreecommitdiffstats
path: root/assets/js (follow)
AgeCommit message (Collapse)Author
2022-05-06jsdoc type fixmeow
2022-05-06fix helpers storagemeow
2022-05-06fix helpersmeow
2022-05-06js code rewrite. Created _helpers.js with XHR and storage wrappermeow
2022-05-03Other minor fixesSamantaz Fox
2022-04-27replace tabs to spacesmeow
2022-04-25new lines in the end of filemeow
2022-04-25`console.warn` and `info` instead of `log`meow
2022-04-25optional catchng is not supported by IE11meow
2022-04-25destructing binding is not supported by IE11meow
2022-04-25default parametersmeow
2022-04-25replace huphen-minus to real minusmeow
2022-04-25replace innerHTML to safer textContent where possiblemeow
2022-04-25add variable declarationsmeow
2022-04-25fix double variable declarationmeow
2022-04-25transform template stringmeow
2022-04-25single quotesmeow
2022-04-25convert arrow functionsmeow
2022-04-25eqeqeqmeow
2022-04-25semicolonsmeow
2022-04-25use strictmeow
2022-04-22Bump videojs to 7.12.1 (#3011)Émilien Devos
2022-04-17Remove insecure protocol in embedded viewAHOHNMYC
2022-04-09Merge pull request #2895 from MathiusD/masterSamantaz Fox
Persist player volume/speed
2022-04-09Sanity check + comment why we add a leading dotSamantaz Fox
2022-04-09Minor code/comments cleaningSamantaz Fox
2022-03-27Safari audio double duration fix for iOS 15138138138
The previous method breaks Always Loop feature on iOS 15. The previous player.currentTime(player.duration() + 1) sometimes breaks the entire player. Now it jumps to (end - 1) seconds when the time goes between over half and (end - 2) seconds. With Always Loop on, player will jump to the beginning after 1 second.
2022-02-22Reduce regex in player scriptFéry Mathieu (Mathius)
Following correction at: https://github.com/iv-org/invidious/pull/2895#issuecomment-1048245008
2022-02-22Patch updateCookie for preserve extra args (like domain)Féry Mathieu (Mathius)
2022-02-22Update cookie domain definition in player scriptFéry Mathieu (Mathius)
Related with : https://github.com/iv-org/invidious/pull/2895#issuecomment-1047762544
2022-02-22Update cookie declaration for preserve SameSite directiveFéry Mathieu (Mathius)
2022-02-22Lint docs of addCurrentTimeToURL in player scriptFéry Mathieu (Mathius)
Follow lint indications : https://github.com/iv-org/invidious/pull/2912#discussion_r811479583
2022-02-22Lint conditional deletion of t in addCurrentTimeToURL inside player scriptFéry Mathieu (Mathius)
Follow lint indications : https://github.com/iv-org/invidious/pull/2912#discussion_r811474927
2022-02-22Remove extra space in shareOptions.embedCode of player scriptFéry Mathieu (Mathius)
Follow lint indications : https://github.com/iv-org/invidious/pull/2912#discussion_r811367117
2022-02-19Add currentTimestamp in shared url by videojs-shareFéry Mathieu (Mathius)
2022-02-17Lint player.jsFéry Mathieu (Mathius)
Follow lint indications : - https://github.com/iv-org/invidious/pull/2895#discussion_r809461103 - https://github.com/iv-org/invidious/pull/2895#discussion_r809461622
2022-02-14Move store of modification in Cookie instead of localStorageFéry Mathieu (Mathius)
2022-02-14Modify use of module (Only if video settings are default)Féry Mathieu (Mathius)
Following remark at https://github.com/iv-org/invidious/pull/2895#issuecomment-1037279953
2022-02-14Add videojs-persist pluginFéry Mathieu (Mathius)
2022-02-08Inline a few JS functionsSamantaz Fox
Helps sending less bytes to the client.
2022-02-08handlers.js: fix TypeError on document.activeElement.typeSamantaz Fox
2022-02-08player shortcuts: ignore numpadSamantaz Fox
2022-02-07Fix typosDimitris Apostolou
2022-01-30Merge pull request #2846 from iv-org/SamantazFox-fix-search-focus-jsSamantaz Fox
Ignore "/" key handling if search box is focused
2022-01-30Ignore "/" key handling if search box is focusedSamantaz Fox
Fixes a side effect of https://github.com/iv-org/invidious/pull/2814 See: https://github.com/iv-org/invidious/issues/2791#issuecomment-1018264144
2022-01-30rename hls to vhs in the playerÉmilien Devos
hls method is deprecated: https://github.com/videojs/http-streaming#how-to-use
2022-01-28Merge pull request #2397 from syeopite/dep-manager-for-videojs-stuffSamantaz Fox
Add dependency manager script for videojs stuff
2022-01-13Add JS to focus search box on '/'Samantaz Fox
2022-01-05Merge pull request #2744 from tirz/feature-fix_null_ptr_for_localStorageSamantaz Fox
fix: null ptr while retaining video time
2021-12-31Add check to avoid saving player pos to the11Tuvork28
length of the given video by saving a minimum of 15 at the end