I have a python program that tracks the position of a person in a room. This position is saved as a variable ("coordinates"), and constantly updated. Based on these coordinates (x and y) I would like a video player to zoom in and out. So if someone is in the front of the room, the movie clip is zoomed in. When he/she is in the back, the footage is zoomed out.
Now the problem is, I don't really find nice video players in python. I do however see a lot of nice video players in javascript. Now my question is: would it be possible for a javascript file to somehow "ask" the python file what the current value of the variable is? Is there a regular way to do this? If this is not the case I will search for a python video module, but really like the javascript one...
Thanks in advance!!!