d3a0348ac7
Whenever the client starts up, the following is emitted in the Firefox console: Invalid URI. Load of media resource failed. All candidate resources failed to load. Media load paused. This happens because the <source/> tags are preinitialized with a src attribute of "". So what we're doing instead is initialize the <audio/> element without any children and add the children as soon as the first audio file needs to be played. This also has the advantage that we can determine at runtime whether the browser supports Ogg/Vorbis or whether we should fall back to MPEG layer 3 so only one source element is needed. Signed-off-by: aszlig <aszlig@nix.build>
/website/client contains the source files for the new client side that is being developed as part of the Habitica.com redesign. Static assets for the new client can be found in website/static.
The old client side files can be found in /website/client-old, they are still used on Habitica.com while the redesign is in progress.