[FIX] web_editor: restore broken VideoDialog options
- To enable loop on a video, only setting the 'loop' URL parameter to 1 will not work anymore. We also need to set the playlist parameter to the video ID. - Sound is no longer allowed in autoplay because of new autoplay policies of most browsers. To make autoplay work, the video must be explicitely muted. closes odoo/odoo#34323 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -202,7 +202,11 @@
|
||||
<small class="text-muted">Options</small>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item o_yt_option o_vim_option o_dm_option">
|
||||
<label class="o_switch mb0"><input id="o_video_autoplay" type="checkbox"/><span/>Autoplay</label>
|
||||
<label class="o_switch mb0">
|
||||
<input id="o_video_autoplay" type="checkbox"/><span/>
|
||||
<span style="margin-right: 8px;">Autoplay</span>
|
||||
<span class="small text-muted" style="margin-left: auto;">Videos are muted when autoplay is enabled</span>
|
||||
</label>
|
||||
</li>
|
||||
<li class="list-group-item o_yt_option o_vim_option">
|
||||
<label class="o_switch mb0"><input id="o_video_loop" type="checkbox"/><span/>Loop</label>
|
||||
|
||||
Reference in New Issue
Block a user