def check_video(vurl):
    if YoutubeIE.suitable(vurl):
        return True
    if RtmpIE.suitable(vurl):
        return True
    vpath = compat_urlparse.urlparse(vurl).path
    vext = determine_ext(vpath)
    return (('.' in vpath) and (vext not in ('swf', 'png', 'jpg', 'srt', 'sbv', 'sub', 'vtt', 'ttml', 'js', 'xml')))
def check_video(vurl):
    if YoutubeIE.suitable(vurl):
        return True
    if RtmpIE.suitable(vurl):
        return True
    vpath = compat_urlparse.urlparse(vurl).path
    vext = determine_ext(vpath)
    return (('.' in vpath) and (vext not in ('swf', 'png', 'jpg', 'srt', 'sbv', 'sub', 'vtt', 'ttml', 'js', 'xml')))