Topic: Problem with API

Am having a problem with the API. Everything else works fine and I can get all the simple stuff working. Its just the toggleFullscreen() command. In firebug it comes up with this error message each time: "uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.]."

Any help from anyone would be appreciated.

Cheers,

Dan

Re: Problem with API

Hi,

are you referring to the Flex Embed example? This bug will be fixed in the next version.

Felix Turner
SimpleViewer Support Team.

Re: Problem with API

Na with the HTML Embed.

Re: Problem with API

Fullscreen toggle does not work via the JavaScript API due to a security restriction in the Flash Player. I've updated the docs to indicate this.

Felix Turner
SimpleViewer Support Team.