Hello! I recently started playing around with the '
Winamp JavaScript API [JSAPI2]' (ml_webdev.dll)
I have made a small script that gets the artist from the API
JavaScript Code:
That should execute the script, but when I load it, nothing happens :/
Only the JSAPI2 Test works...
Am I missing something?
Thanks.

I have made a small script that gets the artist from the API
JavaScript Code:
code:
var artist = window.external.Transport.GetMetadata("artist");
alert(artist);
console.log(artist);
HTML Code:
<html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <script src="main.js"></script> </head> </html>
Only the JSAPI2 Test works...
Am I missing something?
Thanks.
Comment