Skip to content

Stop video/audio playback in modal when the modal is closed #1194

@geealbers

Description

@geealbers

Before proceeding, make sure there isn’t an existing issue for this bug.

  • I have searched the existing issues and determined this is a new bug.

Expected Behavior

If a user starts playing a video or audio in the lightbox modal (thought the youtube, vimeo, or soundcloud embeds), the video should stop playing when they close the modal or move to another figure.

Actual Behavior

The video / audio keeps playing

Steps to Reproduce

  1. Start a new project
  2. Run quire preview and navigate in your browser to http://localhost:8080/essay/
  3. Open the first video on the page in the modal
  4. Play the video
  5. Close the modal before the video is complete

Version Numbers

quire-cli 1.0.0-rc.33
quire-11ty 1.0.0-rc.35

Web Browser

No response

Relevant Terminal/Shell Output

Supporting Information

This issue was originally posted in Jira on 30/Sep/22 by @geealbers as DEV-13306

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugActual behavior does not match expected behaviorfiguresIssue related to figures (incl. image, video, audio, table)status:backlogIssue is a lower priority but needs to eventually be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions