carlin-q-scott / browser-media-keys

Lets you control many web players using the media keys on your keyboard.
Mozilla Public License 2.0
123 stars 31 forks source link

Libresonic support #154

Open protist opened 7 years ago

protist commented 7 years ago

It'd be great if this add-on could support Libresonic. To get some more information, I followed the instructions in #126, and the play button gives

<div id="jwplayer_jwplayer_controlbar_playButton" style="height: 100%; position: relative; display: block; float: left; background: rgba(0, 0, 0, 0) url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAANUlEQVR42u2RsQkAAAjD/NTTPaW6dXLrINJA1kBpGPMAjDWmOgp1HFQXx+b1KOefO4oxY57R73YnVYCQUCQAAAAASUVORK5CYII=&quot;) repeat-x scroll left center; width: 21px; cursor: pointer;">&nbsp;</div>

back is

<img src="icons/default_light/back.png" alt="" onclick="onPrevious()" style="cursor:pointer">

and forward is

<img src="icons/default_light/forward.png" alt="" onclick="onNext(false)" style="cursor:pointer">