player control

Moderator: Rathinagiri

Post Reply
User avatar
rizaflevi
Posts: 16
Joined: Sun Sep 01, 2013 3:53 am
Location: Indonesia
Contact:

player control

Post by rizaflevi »

Hi all,

How can I autorepeat on PLAYER control ?
I can't use 'Repeat' properties.


Best rgds,


Riza
User avatar
gfilatov
Posts: 1068
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: player control

Post by gfilatov »

rizaflevi wrote: Wed Jan 31, 2024 9:28 am Hi all,

How can I autorepeat on PLAYER control ?
I can't use 'Repeat' properties.
Hi Riza,

Please be so kind as to have a look at the following explanation on
https://learn.microsoft.com/en-us/windo ... dsetrepeat
Remarks
The MCIWndSetRepeat macro only affects playback that the user initiates by hitting the play button on the toolbar. It will not affect playback started with the MCIWndPlay macro.

Currently, MCIAVI is the only device that supports continuous playback.
So you should define your player as below :arrow:

Code: Select all

		@ 50,10 PLAYER Player_1 ;
			WIDTH w ;
			HEIGHT h ;
			FILE "sample.avi" ;
			SHOWALL
and then set the recurrence like this:

Code: Select all

_SetPlayerRepeatOn( "Player_1", "Media_Test" )
If you click the Play button on the bottom toolbar, you will see the AVI play repeatedly. :idea:

Hope that helps. ;)
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: player control

Post by danielmaximiliano »

Hello. repeat property does not work correctly when having an mp3, wav, avi
It may be that this evil is a procedure that I did.

When I start I already have an mp3 loaded and when I check the checkbox it does not repeat it, since this morning I have been seeing what the error is.
Player.rar
(100.11 KiB) Downloaded 113 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
rizaflevi
Posts: 16
Joined: Sun Sep 01, 2013 3:53 am
Location: Indonesia
Contact:

Re: player control

Post by rizaflevi »

Danielmaximiliano, thanks for your info. its unattendance aplication, run by data.
User avatar
rizaflevi
Posts: 16
Joined: Sun Sep 01, 2013 3:53 am
Location: Indonesia
Contact:

Re: player control

Post by rizaflevi »

Hi Grigory Filatov, many thanks for your kindly information. I will try ASAP.


Kindly regards,
Riza
Post Reply