please show source code for MoviePlayer FullScreen

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by SomeOne.

...

Help me please
Thank you
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> 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
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by SomeOne.

I test and run
but It's say don't know function

GlobalAlloc_ & MciSendString_ & etc,.

Help me again please
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

I think the demo doesn't allow all the API functions supported by the full version.

Bye,

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

Post by BackupUser »

Restored from previous forum. Originally posted by merendo.

Open a screen, load the movie, and use ScreenID() instead of WindowID(). This should work. (Should...)

Regards, merendo

We always need to hear both sides of the story (by Phil Collins)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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
Post Reply