mirror of
https://github.com/gosticks/PiPer.git
synced 2025-10-16 11:55:42 +00:00
Added VK support
This commit is contained in:
parent
e94aaa2e36
commit
a3c38e45c8
@ -84,6 +84,7 @@ Install from the [Chrome Web Store](https://chrome.google.com/webstore/detail/pi
|
||||
* [Video Aktálně](http://video.aktualne.cz)
|
||||
* [Vier](http://www.vier.be)
|
||||
* [Vijf](http://www.vijf.be)
|
||||
* [VK](http://www.vk.com)
|
||||
* [VRV](http://www.vrv.co)
|
||||
* [VRT NU](http://www.vrt.be/vrtnu/)
|
||||
* [Yelo Play](http://www.yeloplay.be)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
20
src/common/scripts/resources/vk.js
Normal file
20
src/common/scripts/resources/vk.js
Normal file
@ -0,0 +1,20 @@
|
||||
export const domain = 'vk';
|
||||
|
||||
export const resource = {
|
||||
buttonClassName: 'videoplayer_btn',
|
||||
buttonElementType: 'div',
|
||||
buttonInsertBefore: function(/** Element */ parent) {
|
||||
return document.querySelector('div.videoplayer_btn_fullscreen');
|
||||
},
|
||||
buttonStyle: /** CSS */ (`
|
||||
width: 24px;
|
||||
height: 45px;
|
||||
padding: 0 8px;
|
||||
`),
|
||||
buttonParent: function() {
|
||||
return document.querySelector('div.videoplayer_controls');
|
||||
},
|
||||
videoElement: function() {
|
||||
return document.querySelector('video.videoplayer_media_provider');
|
||||
},
|
||||
};
|
||||
@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.3</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>218</string>
|
||||
<string>219</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user