mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 05:36:38 +00:00
bundle plyr icon svg
This commit is contained in:
parent
4dba1ac011
commit
46e63b5faa
|
@ -5,3 +5,5 @@ The following files and subdirectories in this directory are licensed under the
|
||||||
- ./default_avatars/* (all default avatars)
|
- ./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.
|
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
|
1
web/assets/plyr.svg
Normal file
1
web/assets/plyr.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.6 KiB |
|
@ -119,6 +119,7 @@ Array.from(document.getElementsByClassName("plyr-video")).forEach((video) => {
|
||||||
disableContextMenu: false,
|
disableContextMenu: false,
|
||||||
hideControls: false,
|
hideControls: false,
|
||||||
tooltips: { contrors: true, seek: true },
|
tooltips: { contrors: true, seek: true },
|
||||||
|
iconUrl: "/assets/plyr.svg",
|
||||||
listeners: {
|
listeners: {
|
||||||
fullscreen: () => {
|
fullscreen: () => {
|
||||||
lightbox.loadAndOpen(parseInt(video.dataset.pswpIndex), {
|
lightbox.loadAndOpen(parseInt(video.dataset.pswpIndex), {
|
||||||
|
|
Loading…
Reference in a new issue