/** * Tab Video module โ€” restart a tab's video every time its tab opens * v1.1.0 * * Webflow Tabs + Background Video: the video in a pane keeps its playhead when * the pane is hidden, so switching back resumes mid-clip. This rewinds and plays * a pane's videos when the pane becomes active, and pauses + rewinds them when * it is left. Driven by the pane's `w--tab-active` class (MutationObserver), so * clicks, keyboard navigation and Webflow's own tab API all trigger it. * * v1.1.0: every tab video gets an "enlarge" button (bottom right) that plays it * fullscreen from 0 with native controls. Desktop + Android use the Fullscreen * API on the