]>
Commit | Line | Data |
---|---|---|
1dbc8d60 AD |
1 | <?php |
2 | class Af_Zz_NoAutoPlay extends Plugin { | |
3 | private $host; | |
4 | ||
5 | function about() { | |
6 | return array(1.0, | |
7 | "Don't autoplay HTML5 videos", | |
8 | "fox"); | |
9 | } | |
10 | ||
11 | function init($host) { | |
12 | $this->host = $host; | |
13 | } | |
14 | ||
15 | function get_js() { | |
16 | return file_get_contents(__DIR__ . "/init.js"); | |
17 | } | |
18 | ||
19 | function api_version() { | |
20 | return 2; | |
21 | } | |
22 | ||
21ce7d9e | 23 | } |