mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-24 05:45:17 +00:00
26 lines
326 B
PHP
26 lines
326 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeVideo extends NodeMedia {
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowImage() {
|
|
return false;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowVideo() {
|
|
return true;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowAudio() {
|
|
return false;
|
|
}
|
|
}
|