Added functions to integrate VLC media player