diff --git a/web/assets/LICENSE b/web/assets/LICENSE index 3baa86545..58141d59b 100644 --- a/web/assets/LICENSE +++ b/web/assets/LICENSE @@ -5,3 +5,5 @@ The following files and subdirectories in this directory are licensed under the - ./default_avatars/* (all default avatars) To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. + +The plyr.svg file is MIT licensed, and can be found at https://github.com/sampotts/plyr \ No newline at end of file diff --git a/web/assets/plyr.svg b/web/assets/plyr.svg new file mode 100644 index 000000000..62ab2579b --- /dev/null +++ b/web/assets/plyr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/source/frontend/index.js b/web/source/frontend/index.js index 2e775a576..99bfc603c 100644 --- a/web/source/frontend/index.js +++ b/web/source/frontend/index.js @@ -119,6 +119,7 @@ Array.from(document.getElementsByClassName("plyr-video")).forEach((video) => { disableContextMenu: false, hideControls: false, tooltips: { contrors: true, seek: true }, + iconUrl: "/assets/plyr.svg", listeners: { fullscreen: () => { lightbox.loadAndOpen(parseInt(video.dataset.pswpIndex), {