Restored from previous forum. Originally posted by SomeOne.
...
Help me please
Thank you
please show source code for MoviePlayer FullScreen
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> Help me please
This plays an AVI in fullscreen for me... not my code, though.
PB - Registered PureBasic Coder
> Help me please
This plays an AVI in fullscreen for me... not my code, though.
Code: Select all
*Result=GlobalAlloc_(#GMEM_FIXED,256)
v$=Chr(34)+"c:\PathAndNameOfAVI.avi"+Chr(34)
If MciSendString_("open "+v$+" alias videoclip",*result,256,0)=0
MciSendString_("play videoclip fullscreen wait",*result,256,0)
MciSendString_("close videoclip",*result,256,0)
EndIf
PB - Registered PureBasic Coder
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> Open a screen, load the movie, and use ScreenID() instead of WindowID().
> This should work. (Should...)
The code I posted above was all I needed to view it -- nothing else.
That is, the code above wasn't just a snippet from a larger app; it
was standalone. Just for the record.
PB - Registered PureBasic Coder
> Open a screen, load the movie, and use ScreenID() instead of WindowID().
> This should work. (Should...)
The code I posted above was all I needed to view it -- nothing else.
That is, the code above wasn't just a snippet from a larger app; it
was standalone. Just for the record.
PB - Registered PureBasic Coder