[ static ] ffmpegPath([path])
Class: MediaPlayer.
Description:
Sets the path to ffmpeg executable file, preferably absolute path. Default is ffmpeg, and it requires the path to ffmpeg to be added to Path environment variable.
When setting path, boolean is returned whether path is valid and accepted.
When getting value, string of previously specified or default value is returned.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Path to the executable FFMPEG file. Default path is "ffmpeg". |
Returns:
Returns string path when getting, or boolean when setting. boolean indicates if specified path was accepted (if it exists).
Type: boolean | string
