question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[V3] 'Play' event isn't called after unpausing

See original GitHub issue

The pause event isn’t fired after resuming the player.

Expected behaviour

Firing of the play event when playback is resumed.

Actual behaviour

The playing event is fired instead.

Environment

  • Browser: Chromium
  • Version: 64
  • Operating System: Windows
  • Version: 10 (1607)

Players affected:

  • HTML5 Video
  • HTML5 Audio
  • YouTube
  • Vimeo

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sampottscommented, Mar 3, 2018

I’ve fixed this in v3.0.0-beta.16 which is on NPM and in releases 👍

1reaction
Baysulcommented, Feb 9, 2018

I confirmed this on https://plyr.io/beta after setting the source to a YouTube video.

player.source = {type: 'video', sources: [{src: 'OTHHeIAYfuU', provider: 'youtube'}]}
Read more comments on GitHub >

github_iconTop Results From Across the Web

HTMLMediaElement: pause event - Web APIs | MDN
The pause event is sent when a request to pause an activity is handled and the activity has entered its paused state, most...
Read more >
javascript - Is "pause" event called on any kind of audio stop?
The answer is that the pause event is only emitted after the pause() method is called or BEFORE an ended or seeking event....
Read more >
Event dispatch bug around play/pause? Or am I just confused?
I've run into a problem trying to play a video from within a pause event handler. This may be a stupid thing to...
Read more >
How to play/pause video using jQuery ? - GeeksforGeeks
Method 1: Using trigger() method: The trigger() method is used to execute a specified event and the default behavior of the event.
Read more >
Changes to pause behavior in the Interactive Media Ads (IMA ...
When the SDK automatically pauses the ad, the PAUSED event will be fired. We recommend that publishers listen for this event, and update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found