-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
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
Add media:stop triggers on notify and drawer #2128
Comments
Yup, totally. |
@danielghost I think the main reason would be the lack of consensus on when exactly media should be stopped. I find it easiest just to do this as and when required on a project according to the designer's/client's requirements. |
Agree with you @danielghost |
stopping video when it scrolls out of view would be a modification to the media component rather than anything to do with |
related to #1653 |
Should the media:stop event be triggered more often in core Adapt?
Is it good design to leave video/audio playing when the drawer is opened, tutor feedbacks displayed etc., or should we stop this as default? You could argue that video shouldn't be played when no longer inview, so scrolling past a media component should potentially stop this.
From a quick look around, some websites seem to continue to let video play when no longer inview or a popup has been displayed, some seem to show a smaller thumbnail style version of the video fixed to the bottom corner as you scroll past the main video.
As we are generally building learning content in Adapt, my initial thoughts would be that if you are no longer physically watching the video, it seems odd for it to continue to play. Maybe the counter argument is that it is best to leave this to the user to decide, as they can always stop the video before clicking elsewhere etc.
The text was updated successfully, but these errors were encountered: