Hello!
I've problem whith Mac.
I'm using Windows Media Player i a frame
as plug-in and active-x.
The syntax for loading a mediafile to
the active-x is Filename and for plug-in
it's Setfilename. This works fine in Windows
but not in Mac. Any suggestions?
My script:
function RegisterEventObservers() {
bName = navigator.appName;
if (bName == "Netscape"){
if (parent.frames['play'].document.MediaPlayer.GetFileName() != "http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.asx")
{
parent.frames['play'].document.MediaPlayer.SetFileName("http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.asx");
parent.frames['play'].document.MediaPlayer.SetSAMIFileName("http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.smi");
}}
else
{
if (parent.frames['play'].document.WMP1.FileName != "http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.asx")
{
parent.frames['play'].document.WMP1.FileName="http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.asx";
parent.frames['play'].document.WMP1.SAMIFileName="http://teliastream.meteorit.se/reflex_upp/ulrika/till_kalkyl.smi";
}}
}