mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-20 11:51:40 +02:00
Minor fixes on YouTube
This commit is contained in:
@@ -120,15 +120,15 @@ class Player {
|
||||
if (this.slide.classList.contains('fullscreen')) {
|
||||
// Disabling keyboard interaction for fullscreenvideos
|
||||
vars.disablekb = 1;
|
||||
vars.showinfo = 0;
|
||||
}
|
||||
|
||||
if (typeof element.dataset.noControls !== 'undefined') {
|
||||
vars.controls = 0;
|
||||
vars.showinfo = 0;
|
||||
}
|
||||
|
||||
if (typeof element.dataset.loop !== 'undefined') {
|
||||
vars.loop = 0;
|
||||
vars.loop = 1;
|
||||
}
|
||||
|
||||
return vars;
|
||||
|
Reference in New Issue
Block a user