1. Tom McArdle
  2. PowerBuilder
  3. Thursday, 27 February 2020 16:36 PM UTC

Hello

 

Does anyone know how I can trigger a MP4 video file thru PB?

Just like I would show a PDF or BMP.

 

Thank You 

Tom

 

 

Who is viewing this page
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 27 February 2020 19:36 PM UTC
  2. PowerBuilder
  3. # 1

Greetings, Tom -

If your mp4 file is local, I believe you can still use the HyperLinkToURL PowerScript function by passing a URL containing a file specification. For example:

Inet linet_base
GetContextService('Inet',linet_base)
linet_base.HyperLinkToURL('file://C:\Users\username\Documents\example.mp4')

Regards, John

Comment
  1. Tom McArdle
  2. Thursday, 27 February 2020 19:47 PM UTC
Thank you John







  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 27 February 2020 16:51 PM UTC
  2. PowerBuilder
  3. # 2

If the video is hosted online, one simple way is to use the HyperLinkToURL().

Comment
  1. Tom McArdle
  2. Thursday, 27 February 2020 16:58 PM UTC
Thank you so much Armeen for the quick response.



I will check it out



Have a nice day

Tom

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.