Skip to content

Commit 40bcf4c

Browse files
platform: document fb.get_platform
1 parent 1f516aa commit 40bcf4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/addons.md

+5
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,11 @@ Returns a set of extensions like [`fb.get_extensions`](#fbget_extensions-table)
931931
treated as parseable by the browser.
932932
All of these are included in `fb.get_extensions`.
933933

934+
#### `fb.get_platform(): string`
935+
936+
Returns the contents of the `platform` property on mpv v0.36+,
937+
and `windows`, `darwin`, or `other` on older versions.
938+
934939
#### `fb.get_root(): list_table`
935940

936941
Returns the root table.

0 commit comments

Comments
 (0)