Webview
self:is_autoplay
Client
Retrieves whether autoplay is enabled on the webview
Syntax
local result = self:is_autoplay()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if autoplay is enabled, false otherwise |
Examples
local browser = webview.create()
engine.print("info", "Webview autoplay:", browser:is_autoplay())