Skip to main content

MLStreamingBrowser.TryGettingVideoPlayState(function callback_result)

Queries the video playback state in current browser page. A callback function is required.

Parameters:

NameTypeDescription
callback_resultfunctionCallback function which will be called with a boolean parameter indicating the queried playback state.

Usage

---@type MLStreamingBrowser
local mlstreamingbrowser;

---@type function
local callback_result;


mlstreamingbrowser.TryGettingVideoPlayState(callback_result)