Quote:
Originally Posted by BeaLzeBuB
can we put "showstatusbar" in media player?
like

|
You could edit it by yourself
Edit the "clientscript/anymedia.js"
find:
Code:
function anymedia_windowsmedia(id, src, mime, width, height, autoplay) {
if (is_ie) {
var result = '<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ';
result += 'width="' + width + '" height="' + height + '">';
result += '<param name="autoplay" value="' + autoplay + '" />';
result += '<param name="filename" value="' + src + '" />';
result += '</object>';
} else {
var result = '<object data="' + src + '" type="' + mime + '" ';
result += 'width="' + width + '" height="' + height + '">';
result += '<param name="autoplay" value="' + autoplay + '" />';
}
document.getElementById('anymedia_container_' + id).innerHTML = result;
}
Replace with
Code:
function anymedia_windowsmedia(id, src, mime, width, height, autoplay) {
if (is_ie) {
var result = '<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ';
result += 'width="' + width + '" height="' + height + '">';
result += '<param name="autoplay" value="' + autoplay + '" />';
result += '<param name="filename" value="' + src + '" />';
result += '<param name="ShowStatusBar" value="1" />';
result += '</object>';
} else {
var result = '<object data="' + src + '" type="' + mime + '" ';
result += 'width="' + width + '" height="' + height + '">';
result += '<param name="autoplay" value="' + autoplay + '" />';
result += '<param name="ShowStatusBar" value="1" />';
}
document.getElementById('anymedia_container_' + id).innerHTML = result;
}