Closed orelHAnyvision closed 5 months ago
If you don't provide container when initializing, ASS.js will create a container, and move the video to the container, it might be break player libs.
I suggest you to provide container and set styles yourself to make sure subtitles display in video's viewport.
new ASS(content, video, { container: document.querySelector('.my-container') });
Hi my app is running with vite and react after loading the video its width/height changes only for external video platers like Plyr, ReactPlayer and so, for native video player it does work properly. is there something I miss?