Skip to content

Commit

Permalink
Merge branch 'beatport-edge-14-support' into V2.97a.20150601+DEV
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschiller committed May 21, 2017
2 parents a0f3d79 + 1ed91ef commit cc402c1
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 140 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -67,6 +67,6 @@ Post-release development builds may be available on the appropriate +DEV branch,
== Forks and Pull Requests

Firstly, thank you for wanting to contribute! Bug fixes and tweaks are welcomed, particularly if they follow the general coding style of the project.
If making a pull request, use the project's current +DEV development branch as the merge target instead of "master", if possible (please and thank-you.)
If making a pull request, use the project's current +DEV development branch as the merge target instead of "master", if possible (please and thank-you).

* SoundManager 2 has been at "version" 2.97 for a long time, because 2.97 was arguably the best llama-ass-whipping version of WinAmp. (WinAmp 3 was not as good, and WinAmp 5 was "the best of 2 and 3 combined.") This MP3 player was my favourite Windows app during the 90's, and is missed as there's nothing quite like it on OS X where I spend most of my time these days.
3 changes: 1 addition & 2 deletions bower.json
@@ -1,8 +1,7 @@
{
"name": "SoundManager2",
"version": "2.97.20150601",
"homepage": "https://github.com/scottschiller/SoundManager2",
"main": "script/soundmanager2.js",
"main": ["script/soundmanager2.js", "swf/soundmanager2.swf", "swf/soundmanager2_flash9.swf"],
"ignore": [
"**/.*",
"node_modules",
Expand Down
34 changes: 17 additions & 17 deletions demo/bar-ui/css/bar-ui.css
Expand Up @@ -521,16 +521,16 @@
-ms-interpolation-mode: bicubic;
}

.play-pause,
.play-pause:hover,
.paused .play-pause:hover {
.sm2-icon-play-pause,
.sm2-icon-play-pause:hover,
.paused .sm2-icon-play-pause:hover {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/play.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/play.svg);
background-size: 67.5%;
background-position: 40% 53%;
}

.playing .play-pause {
.playing .sm2-icon-play-pause {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/pause.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/pause.svg);
background-size: 57.6%;
Expand All @@ -556,50 +556,50 @@
background-image: none, url(../image/icomoon/entypo-25px-000000/SVG/volume.svg);
}

.menu {
.sm2-icon-menu {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/list2.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/list2.svg);
background-size: 58%;
background-position: 54% 51%;
}

.previous {
.sm2-icon-previous {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/first.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/first.svg);
}

.next {
.sm2-icon-next {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/last.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/last.svg);
}

.previous,
.next {
.sm2-icon-previous,
.sm2-icon-next {
background-size: 49.5%;
background-position: 50% 50%;
}


.sm2-extra-controls .previous,
.sm2-extra-controls .next {
.sm2-extra-controls .sm2-icon-previous,
.sm2-extra-controls .sm2-icon-next {
backgound-size: 53%;
}

.shuffle {
.sm2-icon-shuffle {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/shuffle.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/shuffle.svg);
background-size: 45%;
background-position: 50% 50%;
}

.repeat {
.sm2-icon-repeat {
background-image: url(../image/icomoon/entypo-25px-ffffff/PNG/loop.png);
background-image: none, url(../image/icomoon/entypo-25px-ffffff/SVG/loop.svg);
background-position: 50% 43%;
background-size: 54%;
}

.sm2-extra-controls .repeat {
.sm2-extra-controls .sm2-icon-repeat {
background-position: 50% 45%;
}

Expand Down Expand Up @@ -710,7 +710,7 @@
background-size: 72%;
background-position: 50%;
background-repeat: no-repeat;
display: none;
display: none;
}

.playing.buffering .sm2-progress-ball .icon-overlay {
Expand Down Expand Up @@ -898,7 +898,7 @@
.sm2-bar-ui.dark-text ul li.selected a {
background-color: rgba(255,255,255,0.1);
background-image: url(../image/black-10.png);
background-image: none, none;
background-image: none, none;
}

.sm2-bar-ui .disabled {
Expand Down Expand Up @@ -940,7 +940,7 @@
background: rgba(0,0,0,0.33);
border-radius: 10px;
}

.sm2-playlist-wrapper ul::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #fff;
Expand Down
66 changes: 33 additions & 33 deletions demo/bar-ui/index.html
Expand Up @@ -36,7 +36,7 @@ <h3>Standard UI</h3>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#play" class="sm2-inline-button play-pause">Play / pause</a>
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
</div>
</div>

Expand Down Expand Up @@ -74,7 +74,7 @@ <h3>Standard UI</h3>

<div class="sm2-inline-element sm2-button-element sm2-menu">
<div class="sm2-button-bd">
<a href="#menu" class="sm2-inline-button menu">menu</a>
<a href="#menu" class="sm2-inline-button sm2-icon-menu">menu</a>
</div>
</div>

Expand All @@ -89,7 +89,7 @@ <h3>Standard UI</h3>
<!-- playlist content is mirrored here -->

<div class="sm2-playlist-wrapper">

<ul class="sm2-playlist-bd">

<!-- example: playable link, "buy" link, "download" link -->
Expand Down Expand Up @@ -133,36 +133,36 @@ <h3>Standard UI</h3>
<li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg">Po'ipu Beach Waves (OGG)</a></li>
<li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav">A corked beer bottle (WAV)</a></li>
<li><a href="../../demo/_mp3/rain.mp3">Rain</a></li>

</ul>

</div>

<div class="sm2-extra-controls">

<div class="bd">

<div class="sm2-inline-element sm2-button-element">
<a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a>
<a href="#prev" title="Previous" class="sm2-inline-button sm2-icon-previous">&lt; previous</a>
</div>

<div class="sm2-inline-element sm2-button-element">
<a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a>
<a href="#next" title="Next" class="sm2-inline-button sm2-icon-next">&gt; next</a>
</div>

<!-- not implemented -->
<!--
<div class="sm2-inline-element sm2-button-element disabled">
<div class="sm2-button-bd">
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button repeat">&infin; repeat</a>
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button sm2-icon-repeat">&infin; repeat</a>
</div>
</div>
-->

<!-- not implemented -->
<!--
<div class="sm2-inline-element sm2-button-element disabled">
<a href="#shuffle" title="Shuffle" class="sm2-inline-button shuffle">shuffle</a>
<a href="#shuffle" title="Shuffle" class="sm2-inline-button sm2-icon-shuffle">shuffle</a>
</div>
-->

Expand All @@ -187,7 +187,7 @@ <h3>Extra controls inline, playlist open by default</h3>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#play" class="sm2-inline-button play-pause">Play / pause</a>
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
</div>
</div>

Expand Down Expand Up @@ -225,19 +225,19 @@ <h3>Extra controls inline, playlist open by default</h3>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a>
<a href="#prev" title="Previous" class="sm2-inline-button sm2-icon-previous">&lt; previous</a>
</div>
</div>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a>
<a href="#next" title="Next" class="sm2-inline-button sm2-icon-next">&gt; next</a>
</div>
</div>

<div class="sm2-inline-element sm2-button-element sm2-menu">
<div class="sm2-button-bd">
<a href="#menu" class="sm2-inline-button menu">menu</a>
<a href="#menu" class="sm2-inline-button sm2-icon-menu">menu</a>
</div>
</div>

Expand All @@ -252,9 +252,9 @@ <h3>Extra controls inline, playlist open by default</h3>
<!-- playlist content is mirrored here -->

<div class="sm2-playlist-wrapper">

<ul class="sm2-playlist-bd">

<!-- item with "download" link -->
<li>
<div class="sm2-row">
Expand All @@ -266,7 +266,7 @@ <h3>Extra controls inline, playlist open by default</h3>
</div>
</div>
</li>

<!-- standard one-line items -->
<li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20People%20Asking.mp3"><b>SonReal</b> - People Asking <span class="label">Explicit</span></a></li>
<li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Already%20There%20Remix%20ft.%20Rich%20Kidd%2C%20Saukrates.mp3"><b>SonReal</b> - Already There Remix ft. Rich Kidd, Saukrates <span class="label">Explicit</span></a></li>
Expand All @@ -280,33 +280,33 @@ <h3>Extra controls inline, playlist open by default</h3>
<li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg">Po'ipu Beach Waves (OGG)</a></li>
<li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav">A corked beer bottle (WAV)</a></li>
<li><a href="../../demo/_mp3/rain.mp3">Rain</a></li>

</ul>

</div>

<div class="sm2-extra-controls">

<div class="bd">

<div class="sm2-inline-element sm2-button-element">
<a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a>
<a href="#prev" title="Previous" class="sm2-inline-button sm2-icon-previous">&lt; previous</a>
</div>

<div class="sm2-inline-element sm2-button-element">
<a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a>
<a href="#next" title="Next" class="sm2-inline-button sm2-icon-next">&gt; next</a>
</div>

<!-- not implemented -->
<!--
<div class="sm2-inline-element sm2-button-element disabled">
<div class="sm2-button-bd">
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button repeat">&infin; repeat</a>
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button sm2-icon-repeat">&infin; repeat</a>
</div>
</div>
<div class="sm2-inline-element sm2-button-element disabled">
<a href="#shuffle" title="Shuffle" class="sm2-inline-button shuffle">shuffle</a>
<a href="#shuffle" title="Shuffle" class="sm2-inline-button sm2-icon-shuffle">shuffle</a>
</div>
-->

Expand All @@ -331,7 +331,7 @@ <h3>Compact UI, single item</h3>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#play" class="sm2-inline-button play-pause">Play / pause</a>
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
</div>
</div>

Expand Down Expand Up @@ -400,7 +400,7 @@ <h3>Compact UI, full width</h3>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#play" class="sm2-inline-button play-pause">Play / pause</a>
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
</div>
</div>

Expand Down Expand Up @@ -540,7 +540,7 @@ <h2 style="padding-top:1em">Live UI options</h2>
<h3>HTML classname options</h3>

<div style="margin-top:1em">
<button id="fullwidth">full width</button>
<button id="fullwidth">full width</button>
<!-- <button id="fixed">fixed</button> -->
<button id="textured">texture</button>
<button id="dark">dark/light text</button>
Expand Down Expand Up @@ -606,7 +606,7 @@ <h3>Fixed-position, full-width player via <code style="font-size:x-small">&lt;di

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#play" class="sm2-inline-button play-pause">Play / pause</a>
<a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
</div>
</div>

Expand Down Expand Up @@ -644,34 +644,34 @@ <h3>Fixed-position, full-width player via <code style="font-size:x-small">&lt;di

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a>
<a href="#prev" title="Previous" class="sm2-inline-button sm2-icon-previous">&lt; previous</a>
</div>
</div>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a>
<a href="#next" title="Next" class="sm2-inline-button sm2-icon-next">&gt; next</a>
</div>
</div>

<div class="sm2-inline-element sm2-button-element">
<div class="sm2-button-bd">
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button repeat">&infin; repeat</a>
<a href="#repeat" title="Repeat playlist" class="sm2-inline-button sm2-icon-repeat">&infin; repeat</a>
</div>
</div>

<!-- not implemented -->
<!--
<div class="sm2-inline-element sm2-button-element disabled">
<div class="sm2-button-bd">
<a href="#shuffle" title="Shuffle" class="sm2-inline-button shuffle">shuffle</a>
<a href="#shuffle" title="Shuffle" class="sm2-inline-button sm2-icon-shuffle">shuffle</a>
</div>
</div>
-->

<div class="sm2-inline-element sm2-button-element sm2-menu">
<div class="sm2-button-bd">
<a href="#menu" class="sm2-inline-button menu">menu</a>
<a href="#menu" class="sm2-inline-button sm2-icon-menu">menu</a>
</div>
</div>

Expand Down Expand Up @@ -714,9 +714,9 @@ <h3>Fixed-position, full-width player via <code style="font-size:x-small">&lt;di
<li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg">Po'ipu Beach Waves (OGG)</a></li>
<li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav">A corked beer bottle (WAV)</a></li>
<li><a href="../../demo/_mp3/rain.mp3">Rain</a></li>

</ul>

</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion demo/bar-ui/script/bar-ui.js
Expand Up @@ -1701,4 +1701,4 @@
window.sm2BarPlayerOptions = playerOptions;
window.SM2BarPlayer = Player;

}(window));
}(window));

0 comments on commit cc402c1

Please sign in to comment.