FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible to play a short avi with sound from inside a post ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possible to play a short avi with sound from inside a post ?
Posted: Fri Dec 21, 2018 10:28 PM

Hello,

is it possible to play / include a short avi with sound ?

regards
Uwe :?:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Fri Dec 21, 2018 11:09 PM

Years ago, I used TVideo to play MPG files and it worked fine at the time. Now I don't know if it is still working, sorry.

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 01:05 AM
Code (fw): Select all Collapse
   local oWnd, oActivex
   local cFile    := "c:\fwh\avis\fivewin.avi"

   DEFINE WINDOW oWnd

   oActiveX = TActiveX():New( oWnd, "WMPlayer.OCX.7", 0, 0, 400, 400 )
   oActivex:url := cFile
   oActiveX:Settings:Volume = 100
   oactivex:stretchtofit := .f.

   oWnd:oClient := oActivex

   ACTIVATE WINDOW oWnd

This plays avi, mp4, etc. with sound.
Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 09:10 AM

Great, thank you.

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 01:10 PM

Reading the caption of this post, it looks like this is not what Mr.Uwe is looking for.
He wants to embed the avi in a post in a forum like this.
I do not know the answer.

Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 01:30 PM

Ops! You're right, sorry. :-)

EMG

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 02:40 PM
Yes Mr.Rao that is what I mean,

Reading the caption of this post, it looks like this is not what Mr.Uwe is looking for.
He wants to embed the avi in a post in a forum like this.
I do not know the answer


Videos I could store inside my homepage.
It would be nice playing a small video like we can show a image from inside a post.

The link to a test-avi

https://www.pflegeplus.com/IMAGES/Santa.avi

regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Possible to play a short avi with sound from inside a post ?
Posted: Sat Dec 22, 2018 03:41 PM
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion