D14221: Keep track of multiple players

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jul 19 07:18:09 BST 2018


broulik created this revision.
broulik added reviewers: Plasma, davidedmundson, fvogt.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Currently, when starting another video, media controls are transfered to the new player. If the player goes away (tab closed, navigate away, etc) media controls are disabled. This patch makes it keep track of all players that were playing and transfers control to the previous player instead.
  Also have "stop" do the same if there's another player available.

TEST PLAN
  Started watching a video, opened a video in a second tab, closed that tab, controlled previous player again.
  Verified it didn't resume the previous video if it was paused.

REPOSITORY
  R856 Plasma Browser Integration

REVISION DETAIL
  https://phabricator.kde.org/D14221

AFFECTED FILES
  extension/content-script.js
  extension/extension.js

To: broulik, #plasma, davidedmundson, fvogt
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180719/9e27022d/attachment.html>


More information about the Plasma-devel mailing list