Hi.
I have a problem with a flv media player I downloaded. I have tried to solve the issue on the company forum but no response, perhaps someone here can help.
The flash player shows up on the page ok, using JS ref to external player, it says it's loading the playlist but then no playlist is shown.
Here's the code:
On the playlist xml file:
<playlist>
<file label="Lets Face The Music" url="Lets Face The Music - Edit.mp3" desc="Sizzle Track 1" dur"72" />
<file label="Summer Wind" url="Summer Wind - Edit.mp3" desc="Sizzle Track 2" dur="70" />
<file label="Diamonds Are Forever" url="http://Diamonds Are Forever - Edit.mp3" desc="Sizzle Track 3" dur="64" />
<file label="Mambo Italiano" url="http://Mambo Italiano - Edit.mp3" desc="Sizzle Track 4" dur="60" />
<file lable="Witch Craft" url="http://Whitch Craft - Edit.mp3" dec="Sizzle Track 5" dur"82" />
<file label="Dance Me To The End Of Love" url="http://Dance Me- Edit.mp3" desc="Sizzle Track 6" dur="92" />
<file label="Diamonds-Live Video" url="DiamondsVideo.mov" desc="Misc-Diamonds Video" res="320x260" />
<file label="The Way You Look Tonight" url="TheWayYouLook.mp3" desc="Misc Track 1" dur"132" />
</playlist>
I tried making the links to files absolute and tried testing live but neither made a difference.
For the JS file:
// MC Media Player (
www.mcmediaplayer.com) JavaScript File for MC 720x360, v1.10/02
mcplayerfile = "mcmp720x360_player.swf";
checkVersion = "";
promptVersion = "";
playlist = "mcmp720x360_playlist.xml";
plresize = "none";
plfolders = "0";
mediadir = "";
dfile = "";
dfileaction = "";
defpreclip = "";
desctxtcolor = "";
descbgcolor = "";
infotype = "none";
infohead = "";
infotxt = "";
infoheadcl = "";
infotxtcl = "";
infobg = "";
infobutton = "";
definfo = "";
bgcolor = "000000";
fullscreenmode = "-1";
buf = "6";
zoom = "0";
dlinks = "0";
downloadDir = "";
showfileURLs="0";
directlinkURL = "";
optmenu = "0";
aseq = "1";
aseqd = "1";
imgdur = "";
swfdur = "";
startvol = "";
allowsearch = "0";
searchorder = "";
searchdesc = "";
// Note: Resizing the player may cause distortion in the interface, especially the text.
// Only resize the player if you really need to. Default size is 720x360
playerwidth = "720";
playerheight = "360";
//////////////////////////////
// Nothing below here needs to be edited.
//////////////////////////////
qs = document.location.search;
n1 = qs.indexOf("dfile=");
if (n1 != -1) {
n1 = n1+6;
qs1 = qs.slice(n1);
n2 = qs1.indexOf("&");
if (n2 != -1) {
qs2 = qs1.slice(0, n2);
} else {
qs2 = qs1;
}
if (qs2.length>=1) {
dfile = qs2;
}
}
p1 = qs.indexOf("playlist=");
if (p1 != -1) {
p1 = p1+9;
qs1 = qs.slice(p1);
p2 = qs1.indexOf("&");
if (p2 != -1) {
qs2 = qs1.slice(0, n2);
} else {
qs2 = qs1;
}
if (qs2.length>=1) {
playlist = qs2;
}
}
mcflashvars = 'playlist='+playlist;
mcflashvars += '&checkVersion='+checkVersion;
mcflashvars += '&promptVersion='+promptVersion;
mcflashvars += '&plresize='+plresize;
mcflashvars += '&plfolders='+plfolders;
mcflashvars += '&mediadir='+mediadir;
mcflashvars += '&dfile='+dfile;
mcflashvars += '&dfileaction='+dfileaction;
mcflashvars += '&defpreclip='+defpreclip;
mcflashvars += '&desctxtcolor='+desctxtcolor;
mcflashvars += '&descbgcolor='+descbgcolor;
mcflashvars += '&infotype='+infotype;
mcflashvars += '&infohead='+infohead;
mcflashvars += '&infotxt='+infotxt;
mcflashvars += '&infoheadcl='+infoheadcl;
mcflashvars += '&infotxtcl='+infotxtcl;
mcflashvars += '&infobg='+infobg;
mcflashvars += '&infobutton='+infobutton;
mcflashvars += '&definfo='+definfo;
mcflashvars += '&fullscreenmode='+fullscreenmode;
mcflashvars += '&bgcolor='+bgcolor;
mcflashvars += '&buf='+buf;
mcflashvars += '&zoom='+zoom;
mcflashvars += '&dlinks='+dlinks;
mcflashvars += '&downloadDir='+downloadDir;
mcflashvars += '&showfileURLs='+showfileURLs;
mcflashvars += '&directlinkURL='+directlinkURL;
mcflashvars += '&optmenu='+optmenu;
mcflashvars += '&aseq='+aseq;
mcflashvars += '&aseqd='+aseqd;
mcflashvars += '&imgdur='+imgdur;
mcflashvars += '&swfdur='+swfdur;
mcflashvars += '&startvol='+startvol;
mcflashvars += '&allowsearch='+allowsearch;
mcflashvars += '&searchorder='+searchorder;
mcflashvars += '&searchdesc='+searchdesc;
if (!mcplayerfile) { mcplayerfile = "mcmp720x360_player.swf"; }
if (bgcolor) { divbg = bgcolor; } else { divbg = "202028"; }
mccode();
function mccode() {
var str='';
str+='<object classid="clsid

27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=7,0,19,0" width="'+playerwidth+'" height="'+playerheight+'">\n';
str+='<param name="movie" value="'+mcplayerfile+'">';
str+='<param name="quality" value="high">';
str+='<param name="allowFullScreen" value="true">';
str+='<param name="FlashVars" value="'+mcflashvars+'">\n';
str+='<embed src="'+mcplayerfile+'" width="'+playerwidth+'" height="'+playerheight+'" quality="high" allowFullScreen="true" pluginspage="http:\/\/www.macromedia.com\/go\/getflashplayer" type="application\/x-shockwave-flash" FlashVars="'+mcflashvars+'"><\/embed>\n';
str+='<\/object>';
document.write(str);
}