I would like to dynamically load an external video from a URL. The current video player let’s me import a video file before I compile the game and I can also embed a video using an iframe. The problem with iframe is that I can’t control the video.
My goal is to get all the content for my game from a WordPress site that we have built, including text, images and videos. WordPress use json so it doesn’t seem to be impossible.
What sort of video control? Could you build controls into the iframe content?
Right now we are running the site in an iFrame from GDevelop, since when running Chrome in full screen at the museum we get some other unwanted features such as zoom, pinch, edge swipe etc. We do run some scripts to handle these issues but they seem to be disabled when Windows and Chrome are updated. GDevelop is more predictable in that sense.
I often use the video object and I know it’s parameters well. Problem is that it is a bit limited. Videos have to be imported to the project before compiling the game/app. If videos could be external we could get around the size limit of GDevelop/Electron apps (1 GB?) and also change video content dynamically after publishing games.
Hmm. If the video auto-plays, can you add a timer that assumes it has kept running and displays the information on the screen at the appropriate time? So it doesn’t need to talk to the video. It just fires the events based on a timer.