public function getUrl(MediaInterface $media)
    {
        $metadata = $media->getMetaData();

        return sprintf('%s?v=%s', self::WATCH_URL, $metadata['id']);
    }
public function getUrl(MediaInterface $media)
    {
        $metadata = $media->getMetaData();

        return sprintf('%s?v=%s', self::WATCH_URL, $metadata['id']);
    }
public function getUrl ( MediaInterface $ media ) { $ metadata = $ media -> getMetaData ( ) ; return sprintf ( '%s?v=%s' , self :: WATCH_URL , $ metadata [ 'id' ] ) ; }
Get the full url to the original video.

@param MediaInterface $media

@return string
Get the full url to the original video .