Call a video from QB64
#1
Actually, no new routine for calling a video has to be worked into QB64, it can also be done that way. 
One can call a program for playing videos created in Visual Basic with "Run" from QB64. In the example, programs and video are in the same directory, but this is not necessary.

Let's see if you can also call up a player directly. Would be even easier.  Rolleyes
Code: (Select All)
'VisualBasic Videoprogramm aufrufen - 2. Sept. 2022

Print
Print "Ruft ein VisualBasic Programm zum Abspielen von Videos auf."
Print
Print "Weiter mit beliebiger Taste . . ."
Do
Loop While InKey$ = ""

'Aufruf des VB-Programms
Run "Video-abspielen.exe"

End

[Image: Video-aus-QB64-2022-09-02.jpg]
Reply
#2
Why do you want to play a video as part of an app built with QB64 or any other programming system? Unless it's a tutorial... but some people just brush it off and "want to make some noize!" The quotation comes from my using music software. Someone is going to want to get fancy such as downloading from Youtube to watch the video inside your program...
Reply
#3
It's going ok! It doesn't find Windows Player, but I know why. I still have to see. As a replacement, I have called the VLC.

So one can call practically any program. . . interesting possibilities open up.

[Image: Jeden-Player-aufrufen-2022-09-02.jpg]
Reply
#4
(09-02-2022, 05:26 PM)mnrvovrfc Wrote: Why do you want to play a video as part of an app built with QB64 or any other programming system? 

I don't understand this question.  Huh
Reply




Users browsing this thread: 2 Guest(s)