I copy/paste the movie.pb example from the official documentation...
When i F5 it doesnt work...ok ok....(doesnt work = sound ok but no video)
I open a new tab (ctrl+N) it doesnt work either...ok...ok...(sound ok but no video)
I open another tab (CTRL+N) it works (sound ok and video ok)
it's incredible...i think i will have to do a video capture of this since no one will belive me...
i'm using PB 5.72(x86) on Win10 x64
I must say that some days ago my computer switched off brutally, so i reinstalled PB to be sure that the crash isnt the source of the issue
The code i use (from the documentation) :
Code: Select all
If InitMovie() = 0 MessageRequester("Error", "Can't initialize movie playback !", 0) End EndIf MovieName$ = "Sigma.mp4" ; i edited this line If MovieName$ If LoadMovie(0, MovieName$) OpenWindow(0, 100, 150, MovieWidth(0), MovieHeight(0), "PureBasic - Movie") PlayMovie(0, WindowID(0)) Repeat Until WaitWindowEvent() = #PB_Event_CloseWindow Else MessageRequester("Error", "Can't load the movie...", 0) EndIf EndIf