Fotiman

msg:4024377 | 2:06 pm on Nov 13, 2009 (gmt 0) |
player.getPlaylist()[obj.index]._utf8_decode(unescape(file.split('/')[1].split('.')[0])) + '</span>'; Does that work?
|
Revata

msg:4028216 | 6:14 pm on Nov 19, 2009 (gmt 0) |
Hm, that didn't work. In fact, entering "_utf8_decode(unescape())" in the command breaks the entire innerHTML. It doesnt even display "Now Playing: ". I wonder is there any other way to decode other than with: _utf8_decode ?
|
Fotiman

msg:4028255 | 7:09 pm on Nov 19, 2009 (gmt 0) |
How about this? function itemMonitor(obj) { var str = '<span class="style1">Now Playing: ', filename = player.getPlaylist()[obj.index].file.split('/')[1].split('.')[0]; filename = unescape(filename); str += filename + '</span>'; gid('nowplaying').innerHTML = str; }
|
|
|
Revata

msg:4028294 | 8:09 pm on Nov 19, 2009 (gmt 0) |
Success! That works, thanks for the help Fotiman. =)
|
|