Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How Many Years Until QB64ers are CALL OBSOLETE? Pete 62 3,768 02-20-2026, 03:15 AM
Last Post: bert22306
  A more complete instructional video James D Jarvis 2 598 05-08-2025, 03:16 PM
Last Post: James D Jarvis
  time tunnel animation - can this be done as high res and smooth as the video? madscijr 44 7,664 09-23-2024, 03:53 PM
Last Post: madscijr
  Call by reference / value Kernelpanic 3 900 11-28-2023, 03:41 AM
Last Post: TerryRitchie
  You never CALL Pete 13 2,414 12-02-2022, 12:23 AM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: