public static function video($src, array $attrs = array(), $error = null)
    {
        $node = new Node\Video($src, $error);

        return $node->render($attrs);
    }
public static function video($src, array $attrs = array(), $error = null)
    {
        $node = new Node\Video($src, $error);

        return $node->render($attrs);
    }
public static function video ( $ src , array $ attrs = array ( ) , $ error = null ) { $ node = new Node \ Video ( $ src , $ error ) ; return $ node -> render ( $ attrs ) ; }
Renders video element

@param array|string $src
@param array $attrs
Available attributes

- boolean $autoplay Whether autoplay is required
- boolean $loop Specifies that the video will start over again, every time it is finished
- boolean $muted Specifies that the audio output of the video should be muted
- int $width Optional width
- int $height Optional height
- string $poster Specifies an image to be shown while the video is downloading, or until the user hits the play button

@param string $error Error message
@return string
Renders video element