mon / 0x40-web

Pretty images and colours

Home Page:http://0x40.mon.im/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

volume parameter doesn't works on defaults object

staplestable opened this issue · comments

commented

I don't know if I did something wrong but when setting:

<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>0x40</title>
        <!-- Non minified at https://github.com/mon/0x40-web/ -->
        <link rel="stylesheet" href="css/hues-min.css">
        <script type="text/javascript" src="lib/hues-min.js"></script>
        <script type="text/javascript" src="lib/zip.js"></script>
        <script type="text/javascript" src="lib/zip-fs.js"></script>
        <script type="text/javascript">
            window.addEventListener("load", function() {
                var defaults = {
                    workersPath : "lib/workers/",
                    respacks : ["respacks/Defaults_v5.0.zip",
                                "respacks/CharPackagev0.03.zip"
                                ],
                    firstSong : "Madeon - Finale",
                    volume : 0.5,
                    skipPreloader : "on",
                };
                core = new HuesCore(defaults);
            });

It's the only parameter that doens't have any effect when I open the page.

commented

I know I'm only a year late, but this was fixed in v3.6!