tag:github.com,2008:https://github.com/qingbeeFED/SoundManager2/releases Release notes from SoundManager2 2017-06-07T01:37:16Z tag:github.com,2008:Repository/145445518/V2.97a.20170601 2017-06-07T01:37:16Z V2.97a.20170601 <p>V2.97a.20170601 - IE "Edge" 14 fix, onError() and setPlaybackRate() f…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20150601 2015-06-01T03:41:45Z V2.97a.20150601: Bug fixes <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Added forceUseGlobalHTML5Audio setup option, to address desktop Safari breaking playlist-style playback when in a background tab (something with new Audio() prevents playback from starting automatically?) Improved RequireJS compatibility, correct define() usage and support for SM2_DEFER. API Updates API now fires onstop() when destroying a sound. New setup option: ignoreMobileRestrictions. Enable if you want to avoid the singleton HTML5 object pattern used for mobile devices. iOS WebView purportedly allows use of multiple HTML5 Audio() objects. soundManager.setVolume(33) now applies to all sounds. (Overloaded form; standard is soundManager.setVolume('mySound', 33).) Bar UI Updates Added window.sm2BarPlayers API including data and methods. Players are now scriptable / controllable from JS. on object for event callbacks, global and per-instance - e.g., window.sm2BarPlayers.on = { play: function() { ... }, stop: function() { ... } }); - or, per-instance: window.sm2BarPlayers[0].on = { ... } New config option: stopOtherSounds (i.e., only one player active at a time) More config: excludeClass (default: sm2-exclude), prevents SM2 from playing link. Will fall through, download etc. Added support for additional links in playlist: shopping cart (&quot;buy now&quot;), and music note (&quot;download&quot;) next to each playlist item. Playlist now scrolls currently-playing item into view by default. Fix timing issue when user switches tracks in error case. Improved playlist open-by-default UI state. Added playlist toggle to demo. Check for defaultItem, handle case when starting with an empty playlist. Workaround for non-zero scrollTop offset the first time the playlist is opened. Minor UI tweaks for alignment, polish. Miscellaneous New 2015 Turntable UI Demo. Based on the 2011 &quot;Wheels Of Steel&quot; browser-based turntable UI prototype. Basic UI, API and load/play ability with easily customizable slipmats, record and album artwork. Added bower.json, component.json and npm package.json definition files. Improved RequireJS compatibility, correct define() usage and support for SM2_DEFER. soundmanager2.js code style review (mostly for consistency.) Line breaks, quotes on strings, conditions and ternary statements, comment formatting etc. Side note: The prior release's pre-emptive fix for iOS 8 ended up being a non-issue, as the official iOS 8 release did not use &quot;OS 10&quot; in the user-agent string. Nonetheless, SM2 will now correctly identify iOS 10+ vs. incorrectly flagging it as &quot;iOS 1&quot;."><pre class="notranslate"><code> Added forceUseGlobalHTML5Audio setup option, to address desktop Safari breaking playlist-style playback when in a background tab (something with new Audio() prevents playback from starting automatically?) Improved RequireJS compatibility, correct define() usage and support for SM2_DEFER. API Updates API now fires onstop() when destroying a sound. New setup option: ignoreMobileRestrictions. Enable if you want to avoid the singleton HTML5 object pattern used for mobile devices. iOS WebView purportedly allows use of multiple HTML5 Audio() objects. soundManager.setVolume(33) now applies to all sounds. (Overloaded form; standard is soundManager.setVolume('mySound', 33).) Bar UI Updates Added window.sm2BarPlayers API including data and methods. Players are now scriptable / controllable from JS. on object for event callbacks, global and per-instance - e.g., window.sm2BarPlayers.on = { play: function() { ... }, stop: function() { ... } }); - or, per-instance: window.sm2BarPlayers[0].on = { ... } New config option: stopOtherSounds (i.e., only one player active at a time) More config: excludeClass (default: sm2-exclude), prevents SM2 from playing link. Will fall through, download etc. Added support for additional links in playlist: shopping cart ("buy now"), and music note ("download") next to each playlist item. Playlist now scrolls currently-playing item into view by default. Fix timing issue when user switches tracks in error case. Improved playlist open-by-default UI state. Added playlist toggle to demo. Check for defaultItem, handle case when starting with an empty playlist. Workaround for non-zero scrollTop offset the first time the playlist is opened. Minor UI tweaks for alignment, polish. Miscellaneous New 2015 Turntable UI Demo. Based on the 2011 "Wheels Of Steel" browser-based turntable UI prototype. Basic UI, API and load/play ability with easily customizable slipmats, record and album artwork. Added bower.json, component.json and npm package.json definition files. Improved RequireJS compatibility, correct define() usage and support for SM2_DEFER. soundmanager2.js code style review (mostly for consistency.) Line breaks, quotes on strings, conditions and ternary statements, comment formatting etc. Side note: The prior release's pre-emptive fix for iOS 8 ended up being a non-issue, as the official iOS 8 release did not use "OS 10" in the user-agent string. Nonetheless, SM2 will now correctly identify iOS 10+ vs. incorrectly flagging it as "iOS 1". </code></pre></div> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20140901 2014-09-02T01:55:27Z V2.97a.20140901 <p>V2.97a.20140901 - iOS 8 compatibility fix, "Bar UI" player demo, dura…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20131201 2013-12-01T16:47:58Z V2.97a.20131201 <p>V2.97a.20131201 - 100% HTML5 mode by default. Duration fix for Adobe …</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20130512 2013-05-12T16:52:22Z V2.97a.20130512 <p>V2.97a.20130512 - multiShot for polyphonic HTML5 clients. createSound…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20130324 2013-03-24T17:11:36Z V2.97a.20130324 <p>V2.97a.20130324 - Fix for playlist/event chaining when using flashVer…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20130101 2013-01-01T20:14:22Z V2.97a.20130101 <p>V2.97a.20130101 - Strict Mode. Android 2.3 HTML5 fixes, cleaner debug…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20121104 2012-11-06T00:59:45Z V2.97a.20121104 <p>V2.97a.20121104 - HTML5 + iOS load fixes, Windows 8 App Store compati…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20120916 2012-09-17T01:38:24Z V2.97a.20120916 <p>V2.97a.20120916 - Inline, deferred and lazy-load init improvements, H…</p> scottschiller tag:github.com,2008:Repository/145445518/V2.97a.20120624 2012-06-25T00:54:18Z V2.97a.20120624 <p>V2.97a.20120624 - New soundManager.setup() method, numerous HTML5 imp…</p> scottschiller