I have tried using set_fullscreen, toggle_fullscreen and using the --fullscreen in the instance, but still unable to get it to work.
Code: Select all
list = ['online.jpg', 'test.mp4', 'offline.jpg' 'test.mp4']
vplayer = vlc.Instance('--fullscreen', '--mouse-hide-timeout=0', '--quiet')
player = vplayer.media_list_player_new()
media = vplayer.media_list_new(list)
# for v in list:
# media.add_media(v)
player.set_media_list(media)
player.set_playback_mode(1)
player.play()