WebKit2.Settings.prototype.get_media_playback_allows_inline

function get_media_playback_allows_inline(): Boolean {
    // Gjs wrapper for webkit_settings_get_media_playback_allows_inline()
}
  

Get the WebKit2.Settings.media_playback_allows_inline property.

Returns

true If inline playback is allowed for media or false if only fullscreen playback is allowed.