brandon.mat Posted May 25, 2005 Share Posted May 25, 2005 When on myspace (not sure if anyone is familiar with the page) But i was wondering why there is an xml error in the flashplayer when loading the songs. I cannot listen to any of the bands songs using Opera, with internet explorer it is fine! Any suggestions, how to fix it would be awsome! Thanks <333 Brandon. Link to comment Share on other sites More sharing options...
brandon.mat Posted May 26, 2005 Author Share Posted May 26, 2005 Sorry to do this...but bump And for more info : Link to comment Share on other sites More sharing options...
Dirhael Posted May 27, 2005 Share Posted May 27, 2005 Here's a user javascript that fixes the problem. It's not a problem with Opera (or FF for that matter), but rather because of bad coding on the webmasters part. document.addEventListener("load", function () { var obj = document.getElementsByTagName("object"); for (var i = 0; i < obj.length; i++) { var param = obj[i].getElementsByTagName("param"); for (var c = 0; c < param.length; c++) { if ( (!obj[i].data || !obj[i].type) && (param[c].getAttribute("name").toLowerCase() == "src" || param[c].getAttribute("name").toLowerCase() == "movie") ) { if (!obj[i].data) { obj[i].data = param[c].getAttribute("value"); } if (!obj[i].type) { obj[i].type = param[c].getAttribute("type"); } break; } } if (!obj[i].type && obj[i].getAttribute("classid") ) { var id = obj[i].getAttribute("classid"); if (id == "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000") { obj[i].type = "application/x-shockwave-flash"; } } if (!obj[i].type && obj[i].data.substring( obj[i].data.lastIndexOf(".") ).toLowerCase() == ".swf") { obj[i].type = "application/x-shockwave-flash"; } } }, false); If you don't know how to use userjs, here's a how-to :) (Credit for script: burnout426 of the official Opera forums). Link to comment Share on other sites More sharing options...
brandon.mat Posted May 28, 2005 Author Share Posted May 28, 2005 wow thank you very much :D! sorry for bumping and all...if theres anything you need (on reasonable groudns that is :p) just ask..your awsome! Link to comment Share on other sites More sharing options...
Recommended Posts