public function getTagAttribute()
    {
        // Require sources and for the encoding to be complete
        if (!$sources = $this->getOutputsValue()) {
            return;
        }

        // Start the tag
        $tag = HtmlElement::video();
        $tag->value('Your browser does not support the video tag. You should <a href="http://whatbrowser.org/">consider updating</a>.');

        // Loop through the outputs and add them as sources
        $types = ['mp4', 'webm', 'ogg', 'playlist'];
        foreach ($sources as $type => $src) {

            // Only allow basic output types
            if (!in_array($type, $types)) {
                continue;
            }

            // Make the source
            $source = HtmlElement::source()->src($src);
            if ($type == 'playlist') {
                $source->type('application/x-mpegurl');
            } else {
                $source->type('video/'.$type);
            }

            // Add a source to the video tag
            $tag->appendChild($source);
        }

        // Return the tag
        return $tag;
    }