Skip to content

Commit 6fc1ce6

Browse files
committed
no message
1 parent 28c127e commit 6fc1ce6

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"test",
2323
"tests"
2424
],
25-
"buildnum": "7613"
25+
"buildnum": "7619"
2626
}

dist/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
file: index.tmpl
55
last modified: 10/25/18 8:00 PM
66
Version: 3.3.9
7-
Build: 7613
7+
Build: 7619
88
99
Open Lab s.r.l., Florence - Italy
1010
email: matteo@open-lab.com
@@ -27,9 +27,9 @@
2727
<meta charset="UTF-8">
2828
<title>youtube Chromeless Player - mb.YTPlayer</title>
2929
<link href='//fonts.googleapis.com/css?family=Lekton|Lobster' rel='stylesheet' type='text/css'>
30-
<link href="css/jquery.mb.YTPlayer.min.css?_bn=7613" media="all" rel="stylesheet" type="text/css">
30+
<link href="css/jquery.mb.YTPlayer.min.css?_bn=7619" media="all" rel="stylesheet" type="text/css">
3131
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
32-
<script src="jquery.mb.YTPlayer.min.js?_bn=7613"></script>
32+
<script src="jquery.mb.YTPlayer.min.js?_bn=7619"></script>
3333
<script src="../examples/assets/apikey.js"></script>
3434
<style>
3535
*:focus {

dist/jquery.mb.YTPlayer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ let getYTPVideoID = function (url) {
6161
jQuery.mbYTPlayer = {
6262
name : 'jquery.mb.YTPlayer',
6363
version: '3.3.9',
64-
build : '7613',
64+
build : '7619',
6565
author : 'Matteo Bicocchi (pupunzi)',
6666
apiKey : '',
6767

@@ -331,7 +331,7 @@ let getYTPVideoID = function (url) {
331331
*/
332332
buildPlayer: function (options) {
333333

334-
jQuery(function(){
334+
// jQuery(function(){
335335
if (!ytp.YTAPIReady && typeof window.YT === 'undefined') {
336336
jQuery('#YTAPI').remove();
337337
let tag = jQuery('<script>').attr({
@@ -341,15 +341,15 @@ let getYTPVideoID = function (url) {
341341
'defer': true
342342
});
343343

344-
jQuery('body').append(tag);
344+
jQuery('head').append(tag);
345345

346346
} else {
347347
setTimeout(function () {
348348
jQuery(document).trigger('YTAPIReady');
349349
ytp.YTAPIReady = true
350350
}, 100)
351351
}
352-
});
352+
// });
353353

354354
function isIframe() {
355355
let isIfr = false;

dist/jquery.mb.YTPlayer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@
5656
"directories": {
5757
"example": "examples"
5858
},
59-
"buildnum": "7613"
59+
"buildnum": "7619"
6060
}

src/jquery.mb.YTPlayer.src.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ let getYTPVideoID = function (url) {
334334
*/
335335
buildPlayer: function (options) {
336336

337-
jQuery(function(){
337+
jQuery(function(){
338338
if (!ytp.YTAPIReady && typeof window.YT === 'undefined') {
339339
jQuery('#YTAPI').remove();
340340
let tag = jQuery('<script>').attr({
@@ -344,15 +344,15 @@ let getYTPVideoID = function (url) {
344344
'defer': true
345345
});
346346

347-
jQuery('body').append(tag);
347+
jQuery('head').append(tag);
348348

349349
} else {
350350
setTimeout(function () {
351351
jQuery(document).trigger('YTAPIReady');
352352
ytp.YTAPIReady = true
353353
}, 100)
354354
}
355-
});
355+
});
356356

357357
function isIframe() {
358358
let isIfr = false;

0 commit comments

Comments
 (0)