Video playing/event handling

Just starting out? Need help? Post your questions and find answers here.
pecket
Posts: 4
Joined: Wed Jun 26, 2019 6:32 pm

Video playing/event handling

Post by pecket »

Hi everyone.

I've been looking after examples of how to play video inside a canvas or similar, but I really can't find any example of how to play and control video playback/seek etc except for this: viewtopic.php?p=8085&hilit=player#p8085

My goal was to see if it's possible (without too much hassle) to create a videoplayer that I can draw other objects on (text/image etc) as well as control the player offset, play, pause, rewind, forward, trigger callbacks on certain time offsets etc.

Am I just missing something that I should know/understand or is there no easy way to accomplish this other than semi-complex inclusion of external javascript libraries etc? If anyone has an example, and I don't care about what video format to use, or other tips I'd be grateful!

Thanks!