-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d169306
commit d7a9731
Showing
9 changed files
with
1,537 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import 'file-loader?name=index.html!./index.html' | ||
import m4a from 'file-loader!./audio-files/example.m4a' | ||
import mp3 from 'file-loader!./audio-files/example.mp3' | ||
import ogg from 'file-loader!./audio-files/example.ogg' | ||
|
||
import { connect } from '@podlove/html5-audio-driver' | ||
import { registerConnectActions } from './src/actions' | ||
|
||
const connector = connect.audio() | ||
|
||
connector.load([{ | ||
url: m4a, | ||
mimeType: 'audio/mp4' | ||
}, { | ||
url: mp3, | ||
mimeType: 'audio/mp3' | ||
}, { | ||
url: ogg, | ||
mimeType: 'audio/pgg' | ||
}]) | ||
|
||
registerConnectActions(connector) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.