MediaSession Provider. Provides information for MediaSession (https://developer.mozilla.org/en-US/docs/Web/API/MediaSession).
MediaSession Provider Extension
# MediaSession Provider
[Get it for Firefox](https://addons.mozilla.org/en-US/firefox/addon/mediasession-provider/)
[Get it for Chrome](https://chrome.google.com/webstore/detail/vk-mediasession/ejiigemgllfgaaandolnapdilkgohkhg)
This add-on provides [MediaSession](https://developers.google.com/web/updates/2017/02/media-session) data for [VK.com audio](https://vk.com/audio) and [Yandex.Music](https://music.yandex.com). Which can be handled by software that support it.
This add-on provides [MediaSession](https://developers.google.com/web/updates/2017/02/media-session) data for VK.com
audio. Which can be handled by software that support it.
For example, [Plasma Integration add-on](https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/) adds
experimental [MPRIS](https://community.kde.org/MPRIS) integration which allows control media (next track, previous
track, play/pause, shows album art) using desktop widgets (see example in picture below) or multimedia keyboard keys.
![Add-on image on AMO](https://addons.cdn.mozilla.net/user-media/previews/full/211/211724.png?modified=1548492706)
TODO:
- ~~make this add-on available for Google Chrome~~
- add support for other services:
- Yandex.Music
- Deezer
- YouTube
- soundcloud
- etc...
- rename this add-on
- vk.com video support
- Firefox for Android support (when Firefox for Android will implement MediaSession expose to the system).
Read more
[Get it for Firefox](https://addons.mozilla.org/en-US/firefox/addon/mediasession-provider/)
[Get it for Chrome](https://chrome.google.com/webstore/detail/vk-mediasession/ejiigemgllfgaaandolnapdilkgohkhg)
This add-on provides [MediaSession](https://developers.google.com/web/updates/2017/02/media-session) data for [VK.com audio](https://vk.com/audio) and [Yandex.Music](https://music.yandex.com). Which can be handled by software that support it.
This add-on provides [MediaSession](https://developers.google.com/web/updates/2017/02/media-session) data for VK.com
audio. Which can be handled by software that support it.
For example, [Plasma Integration add-on](https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/) adds
experimental [MPRIS](https://community.kde.org/MPRIS) integration which allows control media (next track, previous
track, play/pause, shows album art) using desktop widgets (see example in picture below) or multimedia keyboard keys.
![Add-on image on AMO](https://addons.cdn.mozilla.net/user-media/previews/full/211/211724.png?modified=1548492706)
TODO:
- ~~make this add-on available for Google Chrome~~
- add support for other services:
- Yandex.Music
- Deezer
- YouTube
- soundcloud
- etc...
- rename this add-on
- vk.com video support
- Firefox for Android support (when Firefox for Android will implement MediaSession expose to the system).
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "MediaSession Provider", "short_name": "MediaSession Provider", "description": "MediaSession Provider. Provides information for MediaSession (https://developer.mozilla.org/en-US/docs/Web/API/MediaSession).", "version": "0.0.8", "author": "Zhanibek Adilbekov "icons": { "16": "icons/mediasession-provider-16.png", "32": "icons/mediasession-provider-32.png", "48": "icons/mediasession-provider-48.png", "64": "icons/mediasession-provider-64.png", "96": "icons/mediasession-provider-96.png", "128": "icons/mediasession-provider-128.png" }, "content_scripts": [ { "matches": [ "https://*.vk.com/*" ], "js": [ "cs-vk.js" ], "run_at": "document_idle", "all_frames": true }, { "matches": [ "https://*.music.yandex.com/*", "https://*.music.yandex.ru/*", "https://*.music.yandex.kz/*", "https://*.music.yandex.net/*" ], "js": [ "cs-ym.js" ], "run_at": "document_idle", "all_frames": false } ], "browser_specific_settings": { "gecko": { "id": "vk-mediasession@liljaylj", "strict_min_version": "52.0" } }}
Read more