Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
When there are multiple players on a page, is it possible to stop all players? For example if I start a video, it would be nice all other players to stop. I am using the 2.x dev version of the module and JWPlayer version 6.11.
I would be very grateful if someone points me in the right direction. Thanks!
Comments
Comment #1
ron_s CreditAttribution: ron_s commentedThis might be possible using the JW Player 7 JavaScript API for developers. There are events available relative to playback (such as
.play()
,.pause()
and.stop()
) that can be accessed. However you'll have to write custom JavaScript to make this happen.https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javasc...