mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-23 21:42:38 +00:00
31 lines
378 B
PHP
31 lines
378 B
PHP
<?php
|
|
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeVideo extends NodeMedia {
|
|
public function getType() {
|
|
return 'media';
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowImage() {
|
|
return false;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowVideo() {
|
|
return true;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowAudio() {
|
|
return false;
|
|
}
|
|
}
|