Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
pupunzi committed May 28, 2022
1 parent 28c127e commit 6fc1ce6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"test",
"tests"
],
"buildnum": "7613"
"buildnum": "7619"
}
6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
file: index.tmpl
last modified: 10/25/18 8:00 PM
Version: 3.3.9
Build: 7613
Build: 7619
Open Lab s.r.l., Florence - Italy
email: [email protected]
Expand All @@ -27,9 +27,9 @@
<meta charset="UTF-8">
<title>youtube Chromeless Player - mb.YTPlayer</title>
<link href='//fonts.googleapis.com/css?family=Lekton|Lobster' rel='stylesheet' type='text/css'>
<link href="css/jquery.mb.YTPlayer.min.css?_bn=7613" media="all" rel="stylesheet" type="text/css">
<link href="css/jquery.mb.YTPlayer.min.css?_bn=7619" media="all" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="jquery.mb.YTPlayer.min.js?_bn=7613"></script>
<script src="jquery.mb.YTPlayer.min.js?_bn=7619"></script>
<script src="../examples/assets/apikey.js"></script>
<style>
*:focus {
Expand Down
8 changes: 4 additions & 4 deletions dist/jquery.mb.YTPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ let getYTPVideoID = function (url) {
jQuery.mbYTPlayer = {
name : 'jquery.mb.YTPlayer',
version: '3.3.9',
build : '7613',
build : '7619',
author : 'Matteo Bicocchi (pupunzi)',
apiKey : '',

Expand Down Expand Up @@ -331,7 +331,7 @@ let getYTPVideoID = function (url) {
*/
buildPlayer: function (options) {

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

jQuery('body').append(tag);
jQuery('head').append(tag);

} else {
setTimeout(function () {
jQuery(document).trigger('YTAPIReady');
ytp.YTAPIReady = true
}, 100)
}
});
// });

function isIframe() {
let isIfr = false;
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.mb.YTPlayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
"directories": {
"example": "examples"
},
"buildnum": "7613"
"buildnum": "7619"
}
6 changes: 3 additions & 3 deletions src/jquery.mb.YTPlayer.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ let getYTPVideoID = function (url) {
*/
buildPlayer: function (options) {

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

jQuery('body').append(tag);
jQuery('head').append(tag);

} else {
setTimeout(function () {
jQuery(document).trigger('YTAPIReady');
ytp.YTAPIReady = true
}, 100)
}
});
});

function isIframe() {
let isIfr = false;
Expand Down

0 comments on commit 6fc1ce6

Please sign in to comment.