From c952754c8cdf7d0eb51e827e625b9872cf75fd12 Mon Sep 17 00:00:00 2001 From: "Féry Mathieu (Mathius)" Date: Sat, 12 Feb 2022 17:01:52 +0100 Subject: Add videojs-persist plugin --- assets/js/player.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'assets/js') diff --git a/assets/js/player.js b/assets/js/player.js index 81a27009..5880bedc 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -677,3 +677,6 @@ if (window.location.pathname.startsWith("/embed/")) { cb = player.getChild('ControlBar') cb.addChild(watch_on_invidious_button) }; + +// Add usage of videojs-persist +player.persist(); -- cgit v1.2.3