| 1 | <?php |
||
| 13 | class Configurator extends ConfiguratorBase |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string Name of attribute that stores the video's URL |
||
| 17 | */ |
||
| 18 | protected $attrName = 'src'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $quickMatch = '://'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $regexp = '#\\bhttps?://[-.\\w]+/[-./\\w]+\\.(?:mp4|ogg|webm)(?!\\S)#i'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string Name of the tag used to represent videos |
||
| 32 | */ |
||
| 33 | protected $tagName = 'VIDEO'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Creates the tag used by this plugin |
||
| 37 | * |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | 9 | protected function setUp() |
|
| 57 | } |