Skip to content

Commit

Permalink
Release v3.2.5 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
pupunzi committed Jul 27, 2018
1 parent 255282a commit c8a8489
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.mb.ytplayer",
"version": "3.2.4",
"version": "3.2.5",
"homepage": "http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-ytplayer",
"authors": [
"pupunzi <[email protected]>"
Expand All @@ -22,5 +22,5 @@
"test",
"tests"
],
"buildnum": "7242"
"buildnum": "7244"
}
8 changes: 4 additions & 4 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
file: index.tmpl
last modified: 16/03/18 19.59
Version: 3.2.4
Build: 7242
Version: 3.2.5
Build: 7244
Open Lab s.r.l., Florence - Italy
email: [email protected]
Expand All @@ -26,9 +26,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=7242" media="all" rel="stylesheet" type="text/css">
<link href="css/jquery.mb.YTPlayer.min.css?_bn=7244" 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.js?_bn=7242"></script>
<script src="jquery.mb.YTPlayer.js?_bn=7244"></script>
<script src="../examples/assets/apikey.js"></script>
<style>
*:focus {
Expand Down
13 changes: 6 additions & 7 deletions dist/jquery.mb.YTPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
file: jquery.mb.YTPlayer.src.js
last modified: 16/03/18 20.01
Version: 3.2.4
Build: 7242
Version: 3.2.5
Build: 7244
Open Lab s.r.l., Florence - Italy
email: [email protected]
Expand Down Expand Up @@ -53,8 +53,8 @@ var getYTPVideoID = function (url) {

jQuery.mbYTPlayer = {
name : "jquery.mb.YTPlayer",
version: "3.2.4",
build : "7242",
version: "3.2.5",
build : "7244",
author : "Matteo Bicocchi (pupunzi)",
apiKey : "",

Expand Down Expand Up @@ -2075,20 +2075,19 @@ var getYTPVideoID = function (url) {
if (eval(YTPlayer.opt.stopMovieOnBlur)) {

if (!document.hasFocus()) {

if (YTPlayer.state == 1) {
YTPlayer.hasFocus = false;
YTPlayer.preventTrigger = true;
$YTPlayer.YTPPause();
}

} else if (document.hasFocus() && !YTPlayer.hasFocus && !(YTPlayer.state == -1 || YTPlayer.state == 0)) {

YTPlayer.hasFocus = true;
YTPlayer.preventTrigger = true;
YTPlayer.preventTrigger = true;
$YTPlayer.YTPPlay();
// YTPlayer.state = 1;
}

}

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.mb.YTPlayer.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"player",
"custom"
],
"version": "3.2.4",
"version": "3.2.5",
"author": "Pupunzi <[email protected]> (Matteo Bicocchi)",
"maintainers": [
"Pupunzi <[email protected]> (Matteo Bicocchi)"
Expand Down Expand Up @@ -51,5 +51,5 @@
"directories": {
"example": "examples"
},
"buildnum": "7242"
"buildnum": "7244"
}
2 changes: 1 addition & 1 deletion src/jquery.mb.YTPlayer.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,7 @@ var getYTPVideoID = function (url) {
YTPlayer.preventTrigger = true;
$YTPlayer.YTPPlay();
}

}

/**
Expand Down

0 comments on commit c8a8489

Please sign in to comment.