axis360 icon indicating copy to clipboard operation
axis360 copied to clipboard

Uncaught TypeError: Axis is not a function

Open plutov opened this issue 8 years ago • 0 comments

I have an html page with dist/axis.js included. I see log message in console:

[email protected]
    Report bugs to https://github.com/littlstar/axis/issues ([email protected])
    Copyright 2016 LITTLSTAR - (www.Littlstar.com) [Little Star Media, Inc] 

But when I use the following code I have anerror Uncaught TypeError: Axis is not a function. What I am doing wrong?

var domElement = document.querySelector('#video');
                        var frame = Axis(domElement, {preload: true});

                        frame
                        .src('test.mp4')
                        .height(500)
                        .width(500)
                        .render()
                        .once('ready', function () {
                          frame
                          .play();
                        });

plutov avatar Sep 13 '16 16:09 plutov