Thanks for checking
If I only play a video, I don't see any video and I only hear the sound.
InitMovie()
LoadMovie(0, "test.wmv")
OpenWindow(0, 100, 150, MovieWidth(0), MovieHeight(0), "PureBasic - Movie")
PlayMovie(0, WindowID(0))
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow ...
Search found 7 matches
- Sat Jun 06, 2020 11:45 pm
- Forum: Coding Questions
- Topic: Play two videos
- Replies: 4
- Views: 1297
- Wed Jun 03, 2020 4:21 pm
- Forum: Coding Questions
- Topic: Play two videos
- Replies: 4
- Views: 1297
Play two videos
Hi all, if i run this code only the second window will play the video?
InitMovie()
LoadMovie(0, "test.wmv")
LoadMovie(1, "test.wmv")
OpenWindow(0, 100, 150, MovieWidth(0), MovieHeight(0), "PureBasic - Movie")
PlayMovie(0, WindowID(0))
OpenWindow(1, 100, 450, MovieWidth(1), MovieHeight(1 ...
InitMovie()
LoadMovie(0, "test.wmv")
LoadMovie(1, "test.wmv")
OpenWindow(0, 100, 150, MovieWidth(0), MovieHeight(0), "PureBasic - Movie")
PlayMovie(0, WindowID(0))
OpenWindow(1, 100, 450, MovieWidth(1), MovieHeight(1 ...
- Thu Jul 18, 2019 10:50 pm
- Forum: Coding Questions
- Topic: PlayMovie
- Replies: 2
- Views: 2772
PlayMovie
[5.71 Beta2 LTS (x32)] - Windows 10
Playmove does not work i only get a white window
PureBasic Version 5.51 (x32) is working, all versions higher than 5.51 will not work anymore
InitMovie()
OpenWindow(0, 0, 0, 400, 300, "A screen in a window...", #PB_Window_SizeGadget | #PB_Window_SystemMenu ...
Playmove does not work i only get a white window
PureBasic Version 5.51 (x32) is working, all versions higher than 5.51 will not work anymore
InitMovie()
OpenWindow(0, 0, 0, 400, 300, "A screen in a window...", #PB_Window_SizeGadget | #PB_Window_SystemMenu ...
- Wed Mar 01, 2017 1:01 am
- Forum: Coding Questions
- Topic: ElapsedMilliseconds() PB 5.60 B8
- Replies: 10
- Views: 4892
ElapsedMilliseconds() PB 5.60 B8
Debug ElapsedMilliseconds()
Return 0
Win 10 64 Bit PB 32 Bit
Return 0
Win 10 64 Bit PB 32 Bit
- Wed Jan 18, 2017 12:07 am
- Forum: Feature Requests and Wishlists
- Topic: CreatePreferences PB 5.51
- Replies: 7
- Views: 2503
Re: CreatePreferences PB 5.51
PB UTF-8

0d and 0a makes blank line
With Notepad++ UTF-8

No blank line in the editor
Richard

0d and 0a makes blank line
With Notepad++ UTF-8

No blank line in the editor
Richard
- Mon Jan 16, 2017 1:20 am
- Forum: Coding Questions
- Topic: Base64Encoder PB 5.51
- Replies: 5
- Views: 3142
Base64Encoder PB 5.51
Window 10 64 Bit
Example$ = "This is a test string!"
Decoded$ = Space(1024)
Encoded$ = Space(1024)
Debug Base64Encoder(@Example$, StringByteLength(Example$), @Encoded$, 1024)
Debug Encoded$
Debug Base64Decoder(@Encoded$, StringByteLength(Encoded$), @Decoded$, 1024)
Debug Decoded ...
Example$ = "This is a test string!"
Decoded$ = Space(1024)
Encoded$ = Space(1024)
Debug Base64Encoder(@Example$, StringByteLength(Example$), @Encoded$, 1024)
Debug Encoded$
Debug Base64Decoder(@Encoded$, StringByteLength(Encoded$), @Decoded$, 1024)
Debug Decoded ...
- Mon Jan 16, 2017 1:13 am
- Forum: Feature Requests and Wishlists
- Topic: CreatePreferences PB 5.51
- Replies: 7
- Views: 2503
CreatePreferences PB 5.51
Hello,
CreatePreferences makes now a blank line in the first line.
PureBasic - Preference example file
Windows 10 64 Bit
<blank line>
[Global]
ApplicationName = MP3 Player
Version = 1.1b
; This is the Window dimension
;
[Window]
WindowX = 123
WindowY = 124
WindowZ = -125.500000
Richard
CreatePreferences makes now a blank line in the first line.
PureBasic - Preference example file
Windows 10 64 Bit
<blank line>
[Global]
ApplicationName = MP3 Player
Version = 1.1b
; This is the Window dimension
;
[Window]
WindowX = 123
WindowY = 124
WindowZ = -125.500000
Richard