Returns a VLCPanel class

    Parameters
    ----------
    filepath: String
    \tFile path of video
    volume: Float, optional
    \tSound volume

def vlcpanel_factory(filepath, volume=None):
    """Returns a VLCPanel class

    Parameters
    ----------
    filepath: String
    \tFile path of video
    volume: Float, optional
    \tSound volume

    """

    vlc_panel_cls = VLCPanel
    VLCPanel.filepath = filepath
    if volume is not None:
        VLCPanel.volume = volume

    return vlc_panel_cls