Added ogg musics

This commit is contained in:
Thomas FORGIONE 2015-05-12 14:48:10 +02:00
parent 98e69afa72
commit b5d02c8854
4 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ block content
label(for="showarrows" style={'margin-right':'10px'}) Show arrows label(for="showarrows" style={'margin-right':'10px'}) Show arrows
audio#music(controls, volume=0.5) audio#music(controls, volume=0.5)
source(src="/static/data/music/bobomb.ogg")
source(src="/static/data/music/bobomb.mp3") source(src="/static/data/music/bobomb.mp3")
#container(style={'padding': '0px', 'margin': '0px'}, tabindex="1") #container(style={'padding': '0px', 'margin': '0px'}, tabindex="1")

Binary file not shown.

Binary file not shown.

View File

@ -68,7 +68,7 @@ Coin.prototype.get = function() {
} }
} }
Coin.lastSound = new Audio('/static/data/music/starappears.mp3'); Coin.lastSound = new Audio('/static/data/music/starappears' + Coin.extension);
Coin.lastSound.preload = "auto"; Coin.lastSound.preload = "auto";
Coin.total = 1; Coin.total = 1;