Skip to content

Instantly share code, notes, and snippets.

@jraczak
Created April 29, 2015 21:32
Show Gist options
  • Save jraczak/72d8e0d5e0bda29365e9 to your computer and use it in GitHub Desktop.
Save jraczak/72d8e0d5e0bda29365e9 to your computer and use it in GitHub Desktop.
$(document).ready(function () {
var audioPlayer = new AudioPlayer ({
el: document.getElementById("audio-player"),
songs: [
{
name: "Language Is Alive (Mass Effect Mashup)",
duration: "6:38",
srcs: [
{
src: "Language Is Alive (Mass Effect Mashup).mp3",
type: "audio/mp3"
},
{
src: "Language_Is_Alive_Mass_Effect_Mashup_.ogg",
type: "audio/ogg"
}
]
},
{
name: "Clarity X Lift (Mass Effect Mashup)",
duration: "5:26",
srcs: [
{
src: "Clarity x Lift (Mass Effect Mashup).wav",
type: "audio/wav"
},
{
src: "Clarity_x_Lift_Mass_Effect_Mashup_.ogg",
type: "audio/ogg"
}
]
},
{
name: "The Way You Kuaga (Mass Effect Mashup)",
duration: "5:36",
srcs: [
{
src: "The Way You Kuaga (Mass Effect Mashup).wav",
type: "audio/wav"
},
{
src: "The_Way_You_Kuaga_Mass_Effect_Mashup_.ogg",
type: "audio/ogg"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment