Page 1 of 1

player control

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

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


Best rgds,


Riza

Re: player control

Posted: Wed Jan 31, 2024 6:39 pm
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. ;)

Re: player control

Posted: Wed Jan 31, 2024 10:04 pm
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 162 times

Re: player control

Posted: Thu Feb 01, 2024 9:03 am
by rizaflevi
Danielmaximiliano, thanks for your info. its unattendance aplication, run by data.

Re: player control

Posted: Thu Feb 01, 2024 9:07 am
by rizaflevi
Hi Grigory Filatov, many thanks for your kindly information. I will try ASAP.


Kindly regards,
Riza