protected function getMediaSource($urlPrefix, $item, $itemLang)
    {
        $resolver = new ItemMediaResolver($item, $itemLang);
        $asset = $resolver->resolve($urlPrefix);
        return $asset->getMediaSource();
    }
protected function getMediaSource($urlPrefix, $item, $itemLang)
    {
        $resolver = new ItemMediaResolver($item, $itemLang);
        $asset = $resolver->resolve($urlPrefix);
        return $asset->getMediaSource();
    }
protected function getMediaSource ( $ urlPrefix , $ item , $ itemLang ) { $ resolver = new ItemMediaResolver ( $ item , $ itemLang ) ; $ asset = $ resolver -> resolve ( $ urlPrefix ) ; return $ asset -> getMediaSource ( ) ; }
Get the media source based on the partial url

@param string $urlPrefix
@param core_kernel_classes_resource $item
@param string $itemLang
@return \oat\tao\model\media\MediaBrowser
Get the media source based on the partial url