how can I add video quality selector to videojs player when Iam using lightGallery video gallery here is my config for the lightGallery
const dynamicGalleryVideo = window.lightGallery($dynamicGalleryVideo, {
dynamic: true,
download: false,
plugins: [lgZoom, lgThumbnail, lgVideo],
videojs: true,
videojsOptions: {
muted: false,
autoplay: false,
controls: true,
autoplayFirstVideo: false,
},
dynamicEl: [
{
video: {
source: [
{
src: "https://blissful-noether-fohw-yyre.storage.iran.liara.space/video/Video.mp4",
type: "video/mp4",
},
]
}
}
],
});
Edit
I tried to use Silvermine package base on their document but I couldn't use it with my lightGallery config as you can see above. how can I use silvermine , videojs and lighGallery together? consider that I am using a dynamic lightGallery so there is no tag or any container at first in my html