i wanna embed a vlc instance in a tkinter frame. already there is a similar code here that show a terminal in a tkinter window but i wanna show a vlc instead. here is my vlc code:
import vlc
Instance = vlc.Instance()
player = Instance.media_player_new()
Media = Instance.media_new('http://192.168.1.3:8080')
Media.add_option('network-caching=0')
player.set_media(Media)
player.play()
and here is simple tkinter code
try:
# Python2
from Tkinter import *
except ImportError:
# Python3
from tkinter import *
root = Tk()
root.geometry("380x480")
root.resizable(width=False, height=False)
frame1 = LabelFrame(root, width=459, height=300, bd=5)
frame1.grid(row=1, column=0, padx=10)
i want to show that vlc stream in this tkinter frame