Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 1886561

Browse files
committed
Merge pull request #945 from lgobatto/patch-1
Youtube play button doesn't work on mobile devices
2 parents 1d01e4e + ba72726 commit 1886561

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/helpers/jquery.fancybox-media.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
rel : 0,
9898
hd : 1,
9999
wmode : 'opaque',
100-
enablejsapi : 1
100+
enablejsapi : 1,
101+
ps: 'docs',
102+
controls: 1
101103
},
102104
type : 'iframe',
103105
url : '//www.youtube.com/embed/$3'
@@ -196,4 +198,4 @@
196198
}
197199
};
198200

199-
}(jQuery));
201+
}(jQuery));

0 commit comments

Comments
 (0)