import vlc
# importing vlc module 
import vlc 
  
# importing time module 
import time 
  
# creating vlc media player object 
media_player = vlc.MediaPlayer() 
  
# media object 
media = vlc.Media("../assets/motion-v3.mp4") 
  
# setting media to the media player 
media_player.set_media(media) 
  
# toggling full screen 
media_player.toggle_fullscreen() 
  
  
  
# start playing video 
media_player.play() 
  
# wait so the video can be played for 5 seconds 
# irrespective for length of video 
time.sleep(9) 
import vlc
# importing vlc module 
import vlc 
  
# importing time module 
import time 
  
# creating vlc media player object 
media_player = vlc.MediaPlayer() 
  
# media object 
media = vlc.Media("../assets/motion-v3.mp4") 
  
# setting media to the media player 
media_player.set_media(media) 
  
# toggling full screen 
media_player.toggle_fullscreen() 
  
  
  
# start playing video 
media_player.play() 
  
# wait so the video can be played for 5 seconds 
# irrespective for length of video 
time.sleep(9) 
# importing vlc module # importing time module # creating vlc media player object # media object # setting media to the media player # toggling full screen # start playing video # wait so the video can be played for 5 seconds # irrespective for length of video