ngShravil.py
ngShravil.py

Reputation: 5048

Is there any way to stream online videos in python tkinter window?

I am doing a mini project, where I need to create labels using tkinter library of python. I need to attach a link to each of the label, so that whenever I will click on a particular label, it should stream its online video. Videos can be YouTube videos. So I was wondering is there any way to do this?

Upvotes: 0

Views: 236

Answers (1)

Himanshu dua
Himanshu dua

Reputation: 2523

You cannot easily do what you want. Tkinter has no way to render html. You would have to parse the HTML and CSS and Javascript yourself, and translate the information for display on a canvas or text widget.

Upvotes: 1

Related Questions