Skip to content

[JS Bug]: Event listener breaks video pause function #735

@JuanCaicedo

Description

@JuanCaicedo

Please review FAQ and Known issues before filing a new item!

  • I have reviewed the FAQ and known issues and did not find my topic

Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response

Describe the bug

Adding live-share-react and using useMediaSession while using video.js seems to wire up a listener on the pause event.
image

This listener then interferes with the normal pausing of the player, shown below. When I click pause, it seems like the pause event is triggered, then the play event, then pause, and so on in an infinite loop.

video-playback.mp4

To Reproduce

Steps to reproduce the behavior:

  1. We are waiting for our application to make it onto the Teams store, after that we can share repro instructions

Expected behavior

Play and pause works without any errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnew submissionIssues that have been filed and not yet processed by DRI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions