0

Does XD players support javascript classes?

Does XD players support javascript classes?

It looks like it does not recognize it.

 

2 comments

  • 0
    Avatar
    Lyndon

    it supports javascript yes. What are you trying to do that's failing? Do you have a sample page/scdript we can test? Are you testing with our 6.x fimware, 6.1 beta firmware?

  • 0
    Avatar
    Saar Partush

    Hi,

     

    I'm trying to use a js file that contains a class.

    The result is scipt error at the first character of the word class.

    for example:

    class.js file:

    class A {

     constructor() ;

    }

     

    .html file:

    <script src="class.js">

       var a = new A() ;

    </script>

     

    I'm using BrightAuthor 4.3.0.16 player to run it as html5.

     

    Thanks.

Please sign in to leave a comment.