Skip to content

Commit

Permalink
Release v3.1.1 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
pupunzi committed Oct 1, 2017
1 parent c232efa commit 7a72492
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 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.1.0",
"version": "3.1.1",
"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": "6406"
"buildnum": "6408"
}
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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=6406" media="all" rel="stylesheet" type="text/css">
<link href="css/jquery.mb.YTPlayer.min.css?_bn=6408" media="all" rel="stylesheet" type="text/css">
<script src="//code.jquery.com/jquery-3.0.0.min.js"></script>
<script src="jquery.mb.YTPlayer.js?_bn=6406"></script>
<script src="jquery.mb.YTPlayer.js?_bn=6408"></script>
<script src="../examples/assets/apikey.js"></script>
<style>
*:focus {
Expand Down
19 changes: 10 additions & 9 deletions dist/jquery.mb.YTPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ var getYTPVideoID = function( url ) {

jQuery.mbYTPlayer = {
name: "jquery.mb.YTPlayer",
version: "3.1.0",
build: "6406",
version: "3.1.1",
build: "6408",
author: "Matteo Bicocchi (pupunzi)",
apiKey: "",
defaults: {
Expand Down Expand Up @@ -913,7 +913,7 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return
return this;

if( typeof real == "undefined" ) real = YTPlayer.opt.realfullscreen;
real = eval( real );
Expand All @@ -938,6 +938,7 @@ var getYTPVideoID = function( url ) {
videoWrapper.css( {
zIndex: 0
} );

if( YTPlayer.isBackground ) {
jQuery( "body" ).after( controls );
} else {
Expand Down Expand Up @@ -1106,7 +1107,7 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return;
return this;

if( YTPlayer.state == 1 )
this.YTPPause();
Expand Down Expand Up @@ -1142,7 +1143,7 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return;
return this;

YTPlayer.player.pauseVideo();
YTPlayer.state = 2;
Expand All @@ -1159,7 +1160,7 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return;
return this;

YTPlayer.player.seekTo( val, true );
return this;
Expand Down Expand Up @@ -1201,7 +1202,7 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return;
return this;

if( YTPlayer.player.isMuted() ) {
jQuery( YTPlayer ).YTPUnmute();
Expand Down Expand Up @@ -1250,10 +1251,10 @@ var getYTPVideoID = function( url ) {
var YTPlayer = this.get( 0 );

if( !YTPlayer.player.length )
return;
return this;

if( !YTPlayer.isMute )
return;
return this;

YTPlayer.player.unMute();
YTPlayer.isMute = false;
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.1.0",
"version": "3.1.1",
"author": "Pupunzi <[email protected]> (Matteo Bicocchi)",
"maintainers": [
"Pupunzi <[email protected]> (Matteo Bicocchi)"
Expand Down Expand Up @@ -50,5 +50,5 @@
"directories": {
"example": "examples"
},
"buildnum": "6406"
"buildnum": "6408"
}
1 change: 1 addition & 0 deletions src/jquery.mb.YTPlayer.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ var getYTPVideoID = function( url ) {
videoWrapper.css( {
zIndex: 0
} );

if( YTPlayer.isBackground ) {
jQuery( "body" ).after( controls );
} else {
Expand Down

0 comments on commit 7a72492

Please sign in to comment.