We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to stop/pause video when modal (where the video is located) is closed?
Looks like pause() methid does not work/
I tried to do it:
<video-player src="src/video" controls :autoplay="false" :loop="true" :volume="0.6" :id="`frame`" /> let myModal = document.getElementById(`modal`); let myFrame = document.getElementById(`frame`); myModal.addEventListener('hidden.bs.modal', () => { myFrame.pause(); });
Nuxt 3, Vue 3
npm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Is it possible to stop/pause video when modal (where the video is located) is closed?
Looks like pause() methid does not work/
Reproduction
I tried to do it:
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: