PortableInfobox/includes/services/Parser/Nodes/NodeVideo.php
2022-03-11 13:35:51 -07:00

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;
}
}