I’m hoping to get some wisdom on this from anybody:
I’ve created five tabs that all show a video. However, once you click play on any of the clips, and you then switch to another tab, the video keeps playing in the background.
This is of course because the tab block doesn’t actually remove the videos, it just hides them.
How do I ensure the video stops playing once you click to another tab?
This is probably not going to fix but if what you targeted is visibility (show / hidden) then maybe try to target display (block / none) or (flex/none).
Both visibility and display are css properties.
Hope this works.
As @Marius pointed out, this isn’t currently possible with the Tabs block and Video block.
However, we have implemented this in the Modal block so this definitely should be ported here as well as on the Accordion block.
Thanks for bringing this up, I’ll try to and get this added as soon as possible
hi Louis: I have noticed a bug with this update: when I switch tabs while a video is playing, indeed the video stops, but it starts playing again once I then scroll down