mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
add af_zz_vidmute
This commit is contained in:
24
plugins/af_zz_vidmute/init.php
Normal file
24
plugins/af_zz_vidmute/init.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
class Af_Zz_VidMute extends Plugin {
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
return array(1.0,
|
||||
"Mute audio in HTML5 videos",
|
||||
"fox");
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
}
|
||||
|
||||
function get_js() {
|
||||
return file_get_contents(__DIR__ . "/init.js");
|
||||
}
|
||||
|
||||
function api_version() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user