WebKit.AutoplayPolicy – webkitgtk-6.0 Reference Manual
AutoplayPolicy
Description:
[
CCode
( cprefix =
"WEBKIT_AUTOPLAY_"
, type_id =
"webkit_autoplay_policy_get_type ()"
) ]
[
Version
( since =
"2.30"
) ]
public
enum
AutoplayPolicy
Enum values used to specify autoplay policies.
Namespace:
WebKit
Package:
webkitgtk-6.0
Content:
Enum values:
ALLOW
-
Do not restrict autoplay.
ALLOW_WITHOUT_SOUND
-
Allow videos to autoplay if they have no audio track, or if their audio track is muted.
DENY
-
Never allow autoplay.