def METHOD_NAME(self, url):
    qs = compat_parse_qs(self._match_valid_url(url).group('query'))
    if not qs.get('PortalID') or not qs.get('DestinationID') or not qs.get('ContentID'):
        raise ExtractorError('Invalid URL', expected=True)
    portal_id = qs['PortalID'][0]
    playlist_id = qs['DestinationID'][0]
    content_id = qs['ContentID'][0]
    content_data = self._download_xml('https://mediahub.rice.edu/api/portal/GetContentTitle', content_id, query={
        'portalId': portal_id,
        'playlistId': playlist_id,
        'contentId': content_id
    })
    metadata = xpath_element(content_data, './/metaData', fatal=True)
    title = xpath_text(metadata, 'primaryTitle', fatal=True)
    encodings = xpath_element(content_data, './/encodings', fatal=True)
    player_data = self._download_xml('https://mediahub.rice.edu/api/player/GetPlayerConfig', content_id, query={
        'temporaryLinkId': xpath_text(encodings, 'temporaryLinkId', fatal=True),
        'contentId': content_id,
    })
    common_fmt = {}
    dimensions = xpath_text(encodings, 'dimensions')
    if dimensions:
        wh = dimensions.split('x')
        if len(wh) == 2:
            common_fmt.update({
                'width': int_or_none(wh[0]),
                'height': int_or_none(wh[1]),
            })
    formats = []
    rtsp_path = xpath_text(player_data, self._xpath_ns('RtspPath', self._NS))
    if rtsp_path:
        fmt = {
            'url': rtsp_path,
            'format_id': 'rtsp',
        }
        fmt.update(common_fmt)
        formats.append(fmt)
    for source in player_data.findall(self._xpath_ns('.//Source', self._NS)):
        video_url = xpath_text(source, self._xpath_ns('File', self._NS))
        if not video_url:
            continue
        if '.m3u8' in video_url:
            formats.extend(self._extract_m3u8_formats(video_url, content_id, 'mp4', 'm3u8_native', m3u8_id='hls', fatal=False))
        else:
            fmt = {
                'url': video_url,
                'format_id': video_url.split(':')[0],
            }
            fmt.update(common_fmt)
            rtmp = re.search(r'^(?P<url>rtmp://[^/]+/(?P<app>.+))/(?P<playpath>mp4:.+)$', video_url)
            if rtmp:
                fmt.update({
                    'url': rtmp.group('url'),
                    'play_path': rtmp.group('playpath'),
                    'app': rtmp.group('app'),
                    'ext': 'flv',
                })
            formats.append(fmt)
    thumbnails = []
    for content_asset in content_data.findall('.//contentAssets'):
        asset_type = xpath_text(content_asset, 'type')
        if asset_type == 'image':
            image_url = xpath_text(content_asset, 'httpPath')
            if not image_url:
                continue
            thumbnails.append({
                'id': xpath_text(content_asset, 'ID'),
                'url': image_url,
            })
    return {
        'id': content_id,
        'title': title,
        'description': xpath_text(metadata, 'abstract'),
        'duration': int_or_none(xpath_text(metadata, 'duration')),
        'timestamp': parse_iso8601(xpath_text(metadata, 'dateUpdated')),
        'thumbnails': thumbnails,
        'formats': formats,
    }