summaryrefslogtreecommitdiff
path: root/plugins/af_zz_noautoplay/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-03 19:21:12 +0300
committerAndrew Dolgov <[email protected]>2015-08-03 19:21:12 +0300
commit978eb545821d8f700e1f62b7da6a4ca0fc38adb8 (patch)
tree795b0f0ee1c73ddd94ff92bc8e3452fd41533c57 /plugins/af_zz_noautoplay/init.php
parent3ceb893f66920383b0f79faf1fc896469ee3d2a4 (diff)
parentee15687a9330e6135185b163f6e66f26205b762b (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/af_zz_noautoplay/init.php')
-rw-r--r--plugins/af_zz_noautoplay/init.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/af_zz_noautoplay/init.php b/plugins/af_zz_noautoplay/init.php
new file mode 100644
index 000000000..a36dafa96
--- /dev/null
+++ b/plugins/af_zz_noautoplay/init.php
@@ -0,0 +1,24 @@
+<?php
+class Af_Zz_NoAutoPlay extends Plugin {
+ private $host;
+
+ function about() {
+ return array(1.0,
+ "Don't autoplay HTML5 videos",
+ "fox");
+ }
+
+ function init($host) {
+ $this->host = $host;
+ }
+
+ function get_js() {
+ return file_get_contents(__DIR__ . "/init.js");
+ }
+
+ function api_version() {
+ return 2;
+ }
+
+}
+?>