def METHOD_NAME(plugin, url):
    resp = urlquick.get(url)
    try:
        root_elem = resp.parse("video", attrs={"id": "ln24-video"})
        video_url = root_elem.find(".//source").get('src')
        return resolver_proxy.get_stream_with_quality(plugin, video_url=video_url, manifest_type="hls")
    except Exception:
        root_elem = resp.parse("div", attrs={"class": "row video_embed"})
        frame_url = root_elem.find(".//iframe").get('src')
        resp2 = urlquick.get("https:" + frame_url)
        quality = Script.setting.get_string('quality')
        if quality == Quality['WORST']:
            mp4_videos = PATTERN_VIDEO_WORST.findall(resp2.text)
        else:
            mp4_videos = PATTERN_VIDEO_BEST.findall(resp2.text)
        if len(mp4_videos) == 0:
            return False
        video_url = mp4_videos[0].replace("\\", "")
        return video_url