fix local audio playing on mobile
This commit is contained in:
parent
629909f8fe
commit
ac40763241
2 changed files with 5 additions and 7 deletions
|
|
@ -639,7 +639,6 @@ export default Component.extend(helperMixin, visualizerMixin, {
|
|||
if (files.hasOwnProperty(key)) {
|
||||
let file = files[key];
|
||||
|
||||
if (file.type.startsWith('audio')) {
|
||||
ID3.loadTags("local", updatePlayQueue.bind(file), {
|
||||
dataReader: new FileAPIReader(file),
|
||||
tags: ['title', 'artist', 'album', 'track', 'picture']
|
||||
|
|
@ -648,5 +647,4 @@ export default Component.extend(helperMixin, visualizerMixin, {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="com.hoboman313.huegasm" version="1.2.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="com.hoboman313.huegasm" version="1.2.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<name>Huegasm</name>
|
||||
<content src="index.html" />
|
||||
<plugin name="cordova-plugin-inappbrowser" spec="~1.6.1" />
|
||||
|
|
|
|||
Reference in a new issue