Bug 402416

Summary: Click the extension icon to play/pause playback?
Product: [Plasma] plasma-browser-integration Reporter: Or Schiro <orschiro>
Component: ChromeAssignee: Kai Uwe Broulik <kde>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Or Schiro 2018-12-21 09:54:50 UTC
Dear all, 

I would like to suggest a feature by which clicking the extension icon would play/pause the current playback.

Would you want to consider such a feature?

Your reply is much appreciated. 

Yours
Comment 1 Kai Uwe Broulik 2018-12-21 09:55:28 UTC
You mean the Plasma icon in the browser toolbar?
Comment 2 Or Schiro 2018-12-21 09:56:36 UTC
Dear Kai, 

Yes, correct! The one that is added next to the URL bar when you install the Chrome extension. 

Yours
Comment 3 Kai Uwe Broulik 2018-12-21 09:58:16 UTC
Interesting idea. Not sure if one can catch a "click" event.
In a future release I want to add some functionality to the menu, e.g. the ability to blacklist media controls for certain websites and others. I'll consider this feature when (won't neccessarily be soon) I come around to implement a menu there.
Comment 4 Or Schiro 2018-12-21 09:59:52 UTC
Great!

You may want to take some inspiration from this extension [1].

On click of the icon, it jumps to the actively playing tab.

Yours

[1] https://chrome.google.com/webstore/detail/go-to-playing-tab/hmbhamadknmmkapmhbldodoajkcggcml