| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WMFP.SetLoop
Sets whether to loop.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WMFP | 10.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WMFP.SetLoop"; Player { ; Loop } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Player | The reference number for the Windows Media Foundation Player object. | $$Player | |
| Loop | The new setting. Pass 1 to enable looping or 0 to disable. Default is 0. |
1 | Optional |
Result
Returns OK or error.
Description
Sets whether to loop.You can enable looping to automatically restart playback when file reached the end.
See also
Release notes
- Version 10.1
- Added WMFP.GetLoop and WMFP.SetLoop functions.
Blog Entries
This function checks for a license.
Created 23th February 2020, last changed 27th January 2021