Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error #2048, error #2032


Using swfobject2.1, jw4
Trying to MediaPlayer.Player.sendEvent('LOAD', ...Using swfobject2.1, jw4
Trying to MediaPlayer.Player.sendEvent('LOAD', url);

if url is wrong, the player says *Error #2048 or error #2032* on screen.

How to catch this error by Javascript, listeners etc?

Listeners LOADED,TIME,STATE not return any errors...

26 Community Answers

JW Player

User  
0 rated :

Not responce!

My code below.
It says only* jwListeners:: true true true true *

bc..
function playerReady(obj) {
var id = obj['id'];
var version = obj['version'];
var client = obj['client'];
MediaPlayer.Player = document.getElementsByName(obj.id)[0];
i1=MediaPlayer.Player.addModelListener("LOADED",'jwLoadListener');
i2=MediaPlayer.Player.addModelListener("TIME",'jwTimeListener');
i3=MediaPlayer.Player.addModelListener("STATE",'jwStateListener');
i4=MediaPlayer.Player.addModelListener('ERROR', 'jwErrorMonitor');
document.getElementById("stateshow").innerHTML = 'jwListeners::'+i1+' '+i2+' '+i3+' '+i4;
};

function jwErrorMonitor(obj) {
document.getElementById("stateshow").innerHTML = 'jwErrorMonitor: ' + obj.message;
};


But *404: Error #2032*, displayed in swf, not call jwErrorMonitor function :(

JW Player

User  
0 rated :

I used this code:bc.. var player = null;

functionplayerReady(obj)
{
player=document.getElementsByName(obj.id)[0];
player.addModelListener('ERROR','errorMonitor'));
};

functionerrorMonitor(obj)
{
alert('errorMonitor:'+obj.message);
};

Then I used a bad filename to cause an error. The alert output "errorMonitor: Error #2032"

JW Player

User  
0 rated :

*kLink*

thank you! it works!

but *addControllerListener*, not Model

JW Player

User  
0 rated :

All three listeners throw errors, just depends on what you do to cause the error. See the structure diagram here: *http://code.longtailvideo.com/trac/browser/trunk/as3/player.pdf*

JW Player

User  
0 rated :

So, to catch all of types of errors I have to write 3 functions like this?

player.addModelListener('ERROR', 'errorMonitor1'));
player.addControllerListener('ERROR', 'errorMonitor2'));
....

JW Player

User  
0 rated :

Possibly, though I haven't experimented with the API enough to answer your question.

JW Player

User  
0 rated :

Does this error indicate that you also need to have a file extension (filname.flv) to be read properly? Currently, our files are called in this manner:

index.cfm/fuseaction/media.setup/media_id/3518 (no file ext.)

JW Player

User  
0 rated :

@CBuck,

You neet to set the flashvar *type* to the correct type of media file.

See: *http://code.longtailvideo.com/trac/wiki/FlashVars* for the supported types.

JW Player

User  
0 rated :

been trying to implement the player 4.2 for hours now, player refuse to load xml lists, displays those 2 errors... i am not trying to do anything fancy else then get the player to load my list which was working perfectly with the previous player (3 or so).

updated flash plugin and l uploaded new files

see: bastienfrancois.com/n.html

thanks for any help, I am just about to give up

JW Player

User  
0 rated :

There is no playlist file here:bc.. http://bastienfrancois.com/bastien.xml


Try it for yourself in your browser!

JW Player

User  
0 rated :

i got it

code for treaming mp3 "shoutcast":


s1.addParam('flashvars','file=http://78.129.197.66:24096/;stream.nsv&type=mp3');



the code ";stream.nsv" is necessary to transmitted mp3


code for video streaming
s1.addParam('flashvars','file=rtmp://localhost/live/&type=video');


no se hablar mucho ingles pero ojala me entiendan
lucho0929@hotmail.com to help
lucho0929@hotmail.com para ayuda

i dont know a lot of english , so , i hope you understood what i explained

JW Player

User  
0 rated :


I have this problemes for my Camcord video JVC

JW Player

User  
0 rated :

thanks Guys

JW Player

User  
0 rated :

Seriously? we can't just have a text string as to the problem? Just 2048?

Sometimes I love this component. Sometimes I despise it.

Currently I hate you JW Player. Keep on keepin' on though.

JW Player

User  
0 rated :

Error 2048 has multiple causes.

I recommend checking out http://Error2048.com to see what causes it and how to solve it.

JW Player

User  
0 rated :

i guys i am having smae trouble, but i dont know what to do? here is the website: www.ariana.com.au/afghans

i also i have checked my www.ariana.com.au/afghans/media/xspf.xml and its all good.

still dont know what to do?

thanks so much.

JW Player

User  
0 rated :

bc.. <scripttype="text/javascript">
varplayer=null;

functionplayerReady(obj)
{
player=document.getElementsByName(obj.id)[0];
player.addModelListener('ERROR','errorMonitor'));
};

functionerrorMonitor()
{
if(obj.message='?????????????')
{
//dealwiththeerrorhere
}
};
</script>
You will have to determine what the error message looks like (print it or alert it), then replace the '???????????????' and deal with the message however you want to (print it, some action, etc).

JW Player

User  
0 rated :

i'm using looklet and every time I try to save my look a page comes to me :Oops There were a problem saving your look.

Please check your connection and try again.

Error #2032
WHAT'S THAT i'm frustrated ouuf i don't know what to do HELP PLEASE :'(

Ethan Feldman

JW Player Support Agent  
0 rated :

@Lydia – What is looklet ?

JW Player

User  
0 rated :

Looklet is the worlds first digital styling studio. Create looks on real models with our ever growing selection of fashion and accessories.

i'm trying to save my look (the syle that i create ) but i can't because everytime i try to save it it says to me Oops There were a problem saving your look.

Please check your connection and try again.

Error #2032
i used to save my looks without problem but now i don't know what is happening !!!
i'm not the first one to have this problem !
HELP :'(

JW Player

User  
0 rated :

WRONG TYPING LOL (the style that i make ) not syle hehhehee :P

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, but this forum is about the JW Player. I can’t really help out here.

JW Player

User  
0 rated :

i have occured 0:error #2032
Plz help

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you provide a link Girish ?

JW Player

User  
0 rated :

Hi, I'm trying to get Yutube playlist work and i have "HTTP STATUS 400; BAD REQUEST." on my Chrome and Firefox says: "ERROR#2032"

here is the link:
http://nawizji.com/page

Can you please help.

JW Player

User  
0 rated :

I got it to work, it was missing word "playlist" from my playlistfile url. :)

This question has received the maximum number of answers.