Good morning,
I have a first main window Window.
To play a video, I open a second smaller window Window.
When I start playing my video, it is displayed in the main window even if I put the name of my video window in the PlayMovie instruction...
I do not understand why !!!
Play a video in a second window
Re: Play a video in a second window
Without an example, it is difficult to help.
The most common mistake is to use the window number but forget WindowsID()
PlayMovie(0, WindowID(0))
The most common mistake is to use the window number but forget WindowsID()
PlayMovie(0, WindowID(0))
Re: Play a video in a second window
Without code it's just shooting into the air: Are you using the WINDOWID of the window or the handle?
Code: Select all
PlayMovie(#MyMovie,WindowID(#MyWindow))
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Re: Play a video in a second window
Ok, I was not putting the right syntax, I was not putting WindowID()
thanks to Marc56us and jacdelad
thanks to Marc56us and jacdelad