Skip to content

Commit

Permalink
Release v1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pupunzi committed May 8, 2018
1 parent fd3ec14 commit 43d2117
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 77 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.miniAudioPlayer",
"version": "1.8.6",
"version": "1.8.7",
"homepage": "http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-miniaudioplayer/",
"authors": [
"pupunzi"
Expand All @@ -21,5 +21,5 @@
"test",
"tests"
],
"buildnum": "49906"
"buildnum": "49909"
}
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<title>jquery.mb.miniAudioPlayer</title>

<link href='http://fonts.googleapis.com/css?family=Lekton' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/jquery.mb.miniAudioPlayer.min.css?_v= 1.8.6" title="style" media="screen"/>
<link rel="stylesheet" type="text/css" href="css/jquery.mb.miniAudioPlayer.min.css?_v= 1.8.7" title="style" media="screen"/>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
<!--<script src="../../jquery/jquery-2.2.0.min.js"></script>-->
<script type="text/javascript" src="jquery.mb.miniAudioPlayer.js?_v= 1.8.6"></script>
<script type="text/javascript" src="jquery.mb.miniAudioPlayer.js?_v= 1.8.7"></script>
<style type="text/css">

/*Generic page style*/
Expand Down
69 changes: 36 additions & 33 deletions dist/jquery.mb.miniAudioPlayer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions dist/jquery.mb.miniAudioPlayer.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 @@ -9,7 +9,7 @@
"player",
"jPlayer"
],
"version": "1.8.6",
"version": "1.8.7",
"author": "Pupunzi <[email protected]> (Matteo Bicocchi)",
"maintainers": [
"Pupunzi <[email protected]> (Matteo Bicocchi)"
Expand Down Expand Up @@ -54,5 +54,5 @@
"grunt-contrib-watch": "^0.6.1",
"grunt-include-replace": "^3.0.0"
},
"buildnum": "49906"
"buildnum": "49909"
}
68 changes: 35 additions & 33 deletions src/jquery.mb.miniPlayer.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

jQuery.mbMiniPlayer = {
author : "Matteo Bicocchi",
"version": "{{ version }}",
version: "{{ version }}",
name : "mb.miniPlayer",
isMobile : false,

Expand All @@ -41,37 +41,38 @@
},

defaults: {
ogg : null,
m4a : null,
width : 150,
skin : "black", // available: black, blue, orange, red, gray or use the skinMaker tool to create your.
volume : .5,
autoplay : false,
animate : true,
id3 : false,
playAlone : true,
loop : false,
inLine : false,
volumeLevels : 12,
allowMute : true,
showControls : true,
showVolumeLevel : true,
showTime : true,
showRew : true,
addShadow : false,
addGradientOverlay : false,
gaTrack : true,
downloadable : false,
downloadablesecurity: false,
downloadPage : null,
swfPath : "swf/",
pauseOnWindowBlur : false,
onReady : function (player, $controlsBox) {},
onPlay : function (player) {},
onEnd : function (player) {},
onPause : function (player) {},
onMute : function (player) {},
onDownload : function (player) {}
ogg : null,
m4a : null,
width : 150,
skin : "black", // available: black, blue, orange, red, gray or use the skinMaker tool to create your.
volume : .5,
autoplay : false,
animate : true,
id3 : false,
playAlone : true,
loop : false,
inLine : false,
volumeLevels : 12,
allowMute : true,
showControls : true,
showVolumeLevel : true,
showTime : true,
showRew : true,
addShadow : false,
addGradientOverlay : false,
gaTrack : true,
downloadable : false,
allowDownloadOnMobile: false,
downloadablesecurity : false,
downloadPage : null,
swfPath : "swf/",
pauseOnWindowBlur : false,
onReady : function (player, $controlsBox) {},
onPlay : function (player) {},
onEnd : function (player) {},
onPause : function (player) {},
onMute : function (player) {},
onDownload : function (player) {}
},

getID3: function (player) {
Expand Down Expand Up @@ -141,7 +142,8 @@
if (jQuery.isMobile) { //'ontouchstart' in window
master.player.opt.showVolumeLevel = false;
master.player.opt.autoplay = false;
master.player.opt.downloadable = false;
if(!master.player.opt.allowDownloadOnMobile)
master.player.opt.downloadable = false;
}

if (!master.player.opt.mp3 && url.indexOf("mp3") > 0)
Expand Down

0 comments on commit 43d2117

Please sign in to comment.