1 | <?php namespace Arcanedev\EmbedVideo\Parsers; |
||
9 | class TwitchParser extends AbstractParser |
||
10 | { |
||
11 | /* ----------------------------------------------------------------- |
||
12 | | Getters & Setters |
||
13 | | ----------------------------------------------------------------- |
||
14 | */ |
||
15 | /** |
||
16 | * Get the default URL queries. |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | 21 | protected function defaultQueries() |
|
26 | |||
27 | /** |
||
28 | * Get the iframe pattern. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | 3 | protected function getIframePattern() |
|
38 | |||
39 | /** |
||
40 | * Get the iframe replace. |
||
41 | * |
||
42 | * @return array |
||
43 | */ |
||
44 | 3 | protected function getIframeReplacer() |
|
50 | |||
51 | /** |
||
52 | * Get the video id. |
||
53 | * |
||
54 | * @return mixed |
||
55 | */ |
||
56 | 9 | public function videoId() |
|
60 | |||
61 | /** |
||
62 | * Get the info URL. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | 3 | public function getInfoUrl() |
|
70 | } |
||
71 |