def _extract_f4m_formats(self, manifest_url, video_id, preference=None, f4m_id=None, transform_source=(lambda s: fix_xml_ampersands(s).strip()), fatal=True, m3u8_id=None, data=None, headers={}, query={}):
    manifest = self._download_xml(manifest_url, video_id, 'Downloading f4m manifest', 'Unable to download f4m manifest', transform_source=transform_source, fatal=fatal, data=data, headers=headers, query=query)
    if (manifest is False):
        return []
    return self._parse_f4m_formats(manifest, manifest_url, video_id, preference=preference, f4m_id=f4m_id, transform_source=transform_source, fatal=fatal, m3u8_id=m3u8_id)
def _extract_f4m_formats(self, manifest_url, video_id, preference=None, f4m_id=None, transform_source=(lambda s: fix_xml_ampersands(s).strip()), fatal=True, m3u8_id=None, data=None, headers={}, query={}):
    manifest = self._download_xml(manifest_url, video_id, 'Downloading f4m manifest', 'Unable to download f4m manifest', transform_source=transform_source, fatal=fatal, data=data, headers=headers, query=query)
    if (manifest is False):
        return []
    return self._parse_f4m_formats(manifest, manifest_url, video_id, preference=preference, f4m_id=f4m_id, transform_source=transform_source, fatal=fatal, m3u8_id=m3u8_id)