Support URL patterns for content.autoplay

This commit is contained in:
Florian Bruhin 2018-09-09 18:31:41 +02:00
parent 93eb05598e
commit b611ff52cf
3 changed files with 7 additions and 2 deletions

View File

@ -48,6 +48,7 @@ Changed
- Various performance improvements when many tabs are opened.
- Regenerating completion history now shows a progress dialog.
- Make qute:// pages work properly on Qt 5.11.2
- The `content.autoplay` setting now supports URL patterns on Qt >= 5.11.
Removed
~~~~~~~

View File

@ -1488,7 +1488,9 @@ Default:
[[content.autoplay]]
=== content.autoplay
Automatically start playing `<video>` elements.
Note this option needs a restart with QtWebEngine on Qt < 5.11.
Note: On Qt < 5.11, this option needs a restart and does not support URL patterns.
This setting supports URL patterns.
Type: <<types,Bool>>

View File

@ -220,10 +220,12 @@ content.autoplay:
backend:
QtWebEngine: Qt 5.10
QtWebKit: false
supports_pattern: true
desc: >-
Automatically start playing `<video>` elements.
Note this option needs a restart with QtWebEngine on Qt < 5.11.
Note: On Qt < 5.11, this option needs a restart and does not support URL
patterns.
content.cache.size:
default: null