Skip to content

Commit

Permalink
Release v3.0.6 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mb.jquery.components committed Jun 24, 2016
1 parent ffeee57 commit 91cf8d1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 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.0.5",
"version": "3.0.6",
"homepage": "http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-ytplayer",
"authors": [
"pupunzi <matteo@open-lab.com>"
Expand All @@ -22,5 +22,5 @@
"test",
"tests"
],
"buildnum": "6030"
"buildnum": "6031"
}
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<meta charset="UTF-8">
<title>youtube Chromeless Player - mb.YTPlayer</title>
<link href='http://fonts.googleapis.com/css?family=Lekton|Lobster' rel='stylesheet' type='text/css'>
<link href="css/jquery.mb.YTPlayer.min.css?_bn=5866" media="all" rel="stylesheet" type="text/css">
<link href="css/jquery.mb.YTPlayer.min.css?_bn=5867" media="all" rel="stylesheet" type="text/css">
<!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>-->
<script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
<script src="jquery.mb.YTPlayer.min.js?_bn=5866"></script>
<script src="jquery.mb.YTPlayer.min.js?_bn=5867"></script>
<script src="../examples/assets/apikey.js"></script>
<style>
*:focus {
Expand Down
7 changes: 3 additions & 4 deletions dist/jquery.mb.YTPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ var getYTPVideoID = function( url ) {

jQuery.mbYTPlayer = {
name: "jquery.mb.YTPlayer",
version: "3.0.5",
build: "5866",
version: "3.0.6",
build: "5867",
author: "Matteo Bicocchi",
apiKey: "",
defaults: {
Expand Down Expand Up @@ -417,8 +417,6 @@ var getYTPVideoID = function( url ) {
if( typeof event.target.getPlayerState != "function" ) return;
var state = event.target.getPlayerState();

console.debug( YTPlayer.state, state )

if( YTPlayer.preventTrigger ) {
YTPlayer.preventTrigger = false;
return
Expand Down Expand Up @@ -463,6 +461,7 @@ var getYTPVideoID = function( url ) {
default:
break;
}

// Trigger state events
var YTPEvent = jQuery.Event( eventType );
YTPEvent.time = YTPlayer.currentTime;
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.0.5",
"version": "3.0.6",
"author": "Pupunzi <matteo@open-lab.com> (Matteo Bicocchi)",
"maintainers": [
"Pupunzi <matteo@open-lab.com> (Matteo Bicocchi)"
Expand Down Expand Up @@ -50,5 +50,5 @@
"directories": {
"example": "examples"
},
"buildnum": "5866"
"buildnum": "5867"
}

0 comments on commit 91cf8d1

Please sign in to comment.