8000 Add ability to auto-pause <video>s inside of content tabs · Issue #5407 · squidfunk/mkdocs-material · GitHub 8000
[go: up one dir, main page]

Skip to content

Add ability to auto-pause <video>s inside of content tabs #5407

@alexjlockwood

Description

@alexjlockwood

Context

No response

Description

I have content tabs in my documentation where each tab 636E contains a <video>. I would like the video to pause when switching between the tabs.

(It's possible what I am asking for is impossible, please let me know if it is, I still wanted to file the request in case because it would be really convenient)

Related links

Here is an example webpage where you can see what I mean: https://rolloff.club/variations/5-waller-grand-canyon/#start-on-blue

If you start playing the video, then switch the tab, you'll see the video continues to play in the background.

Use Cases

It would be useful if the videos would pause when switching tabs, since when you switch the tabs the video is not visible anymore so it makes sense for it not to continue to play in the background.

Visuals

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0