summaryrefslogtreecommitdiffstats
path: root/assets/js/player.js (follow)
AgeCommit message (Collapse)Author
2023-09-26Add option to control preloading of video dataThomas Lange
Fix #4110 by adding an option to control the preloading of video data on page load. If disabled ("false"), the browser will not preload any video data until the user explicitly hits the "Play" button. If enabled ("true"), the default behavior will be used, which means the browser decides how much of the video will be preloaded.
2023-03-27improve accessibilityChunkyProgrammer
2022-08-22Fix prefs cookies in player (#3276)Samantaz Fox
2022-07-25Fix updated sources not returned inside map funcÉmilien Devos
This fix the issue reported in https://github.com/iv-org/invidious/issues/2055#issuecomment-1192894698
2022-07-11Merge pull request #3162 from 138138138/138138138-audio-quality-1Samantaz Fox
2022-07-07Merge pull request #3158 from 138138138/138138138-mobileui-forward-rateSamantaz Fox
2022-06-25Update MobileUi138138138
2022-06-25Update MobileUi138138138
2022-06-25Add audioTrackButton138138138
2022-06-23Fix captions138138138
textTracks 0 in DASH mode shows debug messages. Use textTracks 1 in DASH mode, and textTracks 0 in non-DASH mode and audio mode.
2022-06-22Player MobileUi fast forward/backward rate138138138
The fast forward/backward seconds will be adjusted according to playback rate (same as YouTube app behavior). 5 seconds is used when the playback rate is 1x. Previously it was 10 seconds. I believe most of the users watch videos at 2x, so the change will not be obvious.
2022-06-22Fix captions138138138
Captions should automatically show according to preferences.
2022-06-05JS. Trailing spaces removedmeow
2022-05-31fix time adding dirung redirectionmeow
2022-05-31Save time during redirection on another instancemeow
2022-05-21handled invalid values in storagemeow
partial rewrite notifications.js innerText to textContent fixed bug with clamping
2022-05-19JS code minor formattingAHOHNMYC
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2022-05-17Less player reload timeoutmeow
2022-05-17Share video regression. Single quotes are requiredmeow
2022-05-16JS fixes: recursion in themes, keys for frame walking, JSON XHR and ↵meow
details-summary in IE11
2022-05-15js code rewrite. Themes rewritten, bugs fixedmeow
2022-05-06fix helpers storagemeow
2022-05-06js code rewrite. Created _helpers.js with XHR and storage wrappermeow
2022-04-27replace tabs to spacesmeow
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-25replace innerHTML to safer textContent where possiblemeow
2022-04-25add variable declarationsmeow
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