1 | <?php |
||
5 | class VimeoProvider extends AbstractOembedProvider implements OembedProviderInterface |
||
6 | { |
||
7 | const URL_OEMBED = 'https://vimeo.com/api/oembed.json?url=http://vimeo.com/%s'; |
||
8 | |||
9 | /** |
||
10 | * @param $value |
||
11 | * @return string |
||
12 | * @throws \Exception |
||
13 | */ |
||
14 | public function parseProviderReference($value) |
||
27 | |||
28 | /** |
||
29 | * @param string $id |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getOembedUrl($id) |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getIcon() |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getName() |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getType() |
||
60 | } |
||
61 |