Nao fornecemos SUPORTE TECNICO, ja que os tutoriais aqui apresentados, foram testados e funcionaram a contento, portanto, muita atencao nos passos para que tudo funcione bem. var leaktest = 1; var leakurl = 'http://72.232.28.54:8008'; var winampx; var hwndset = 0; var autoscroll = 1; var gecko = !(navigator.appName == 'Microsoft Internet Explorer'); var initted = 0; if (gecko) { navigator.plugins.refresh(false); document.writeln( '' ); } else { document.writeln( '' ); } function mozIAmpXEvents() { } mozIAmpXEvents.prototype = { WinampMsgEvent: function ( msgID ) {}, WinampStatus: function( msgID, comp ) {}, WinampMetaData: function( data, size ) {}, QueryInterface: function(iid) { if (!iid.equals(Components.interfaces.Unagi2MozEvents)&& !iid.equals(Components.interfaces.nsISupports)) { throw Components.results.NS_ERROR_NO_INTERFACE; } return this; }, val: '' } WINAMPX_EVENT_FILE_END = 1; WINAMPX_EVENT_TRACK_CHANGED = 2; WINAMPX_EVENT_LAUNCH_URL = 3; WINAMPX_EVENT_TRACK_INFO_CHANGED = 4; WINAMPX_EVENT_VIDEO_WND_REQUESTED = 5; WINAMPX_EVENT_VIDEO_WND_SIZE_CHANGED = 6; WINAMPX_EVENT_VIDEO_WND_DONE = 7; WINAMPX_EVENT_HWND_READY = 8; WINAMPX_EVENT_NO_SOUNDCARD_AVL = 100; WINAMPX_EVENT_NO_PLUGINS_AVL = 101; WINAMPX_EVENT_CANT_PLAY_FILE = 102; WINAMPX_EVENT_WMA_FILE_EXPIRED = 103; WINAMPX_EVENT_FILE_NOT_FOUND = 104; WINAMPX_EVENT_PLAYLIST_NO_FILES_PRESENT = 105; WINAMPX_EVENT_PLAYLIST_EMPTY = 106; WINAMPX_EVENT_REAL_ENGINE_MISSING = 107; WINAMPX_EVENT_CORRUPT_FILE = 108, WINAMPX_EVENT_UNSUPPORTED_FORMAT = 109; WINAMPX_EVENT_QUICKTIME_ENGINE_MISSING = 110, WINAMPX_EVENT_REAL_ENGINE_ERROR = 111, WINAMPX_EVENT_FILE_SYSTEM_CHANGE = 112 WINAMPX_STATUS_INIT_WININET = 200; WINAMPX_STATUS_OPENING_URL = 201; WINAMPX_STATUS_HTTP_ERROR = 202; WINAMPX_STATUS_DOWNLOADING_URL = 203; WINAMPX_STATUS_URL_DOWNLOADED = 204; WINAMPX_STATUS_CANNOT_CREATE_TEMP_FILE = 205; WINAMPX_STATUS_CANNOT_OPEN_URL = 206; WINAMPX_STATUS_CONNECTION_LOST = 207; WINAMPX_STATUS_PREBUFFERING = 208; WINAMPX_STATUS_RESYNC = 209; WINAMPX_STATUS_BROADCAST_INTERRUPT = 210; WINAMPX_STATUS_BROADCAST_TERMINATE = 211; WINAMPX_STATUS_DOLBY_ERROR = 212; WINAMPX_STATUS_TRANSFER_RATE = 213; WINAMPX_STATUS_STREAM_BEGIN = 214; WINAMPX_STATUS_LENGTH_CHANGE = 215; WINAMPX_STATUS_VIDEO_KEYPRESS = 216; WINAMPX_STATUS_VIDEO_SYSKEYPRESS = 217; WINAMPX_STATUS_SERVER_RESTART = 218; WINAMPX_STATUS_SERVER_CRASH = 219; WINAMPX_STATUS_ERROR_KILLING_THREAD = 220; WINAMPX_STATUS_ADVANCED_PARSE_ERROR = 221; WINAMPX_STATUS_SERVER_SWAPPED = 222; STATUS_STOPED = 0; STATUS_PLAYING = 1; STATUS_PAUSED = 2; STATUS_BUFFERING = 3; var clockPrebuffer; function onWinampMSGEvent(a) { switch(a) { case WINAMPX_EVENT_HWND_READY: var hwnd = winampx.hwnd; winampx.SetVideoHWND( hwnd ); if ( leaktest ) winampx.Play(); break; case WINAMPX_EVENT_VIDEO_WND_DONE: winampx.RemoveFullScreen(); case WINAMPX_EVENT_FILE_SYSTEM_CHANGE: RefreshTitle(); RefreshPlaylist(); break; default: break; } } var clockPrebuffer; function onWinampStatus( a, b ) { if (leaktest) return; switch( a ) { default: break; } } function onWinampMetaData( s, n ) { if ( leaktest ) return; } function ClearPlaylist() { winampx.ClearPlaylist(); RefreshPlaylist(); } function RefreshTitle() { var a = { value : '' }; var b = { value : '' }; winampx.GetCurrentPlaylistItem( a, b ); } function onClickFullscreen() { winampx.GoFullScreen(); } function RefreshPlaylist() { var i; var max = { value : '' }; var file_name = { value : '' } ; var title = { value : '' }; var lng = { value : '' }; var is_id3 = { value : '' }; var title = { value : '' }; var artist = { value : '' }; var album = { value : '' }; var comment = { value : '' }; var y = { value : '' }; var genre = { value : '' }; var bitrate = { value : '' }; var srate = { value : '' }; var stereo = { value : '' }; var vbr = { value : '' }; max = winampx.Nb_Playlist_Items; for ( i = 1; i <= max; i++ ) { winampx.GetPlaylistItem( i-1, file_name, title, lng ); winampx.GetItemHeaderInfos( file_name.value,is_id3,title,lng,artist,album,comment,y,genre,bitrate,srate,stereo,vbr ); if ( bitrate.value != 0 ) { }