Avatar billede kjoelby Nybegynder
06. maj 2004 - 11:19 Der er 2 kommentarer

Undersøg om Windows Media Player er installeret.

Findes der en funktion der undersøger om brugeren har installeret Windows Media Player, og hvis ikke vil der komme en besked med et link hvor man kan downloade den på.
Her er mine koderne til min fremviser til siden: http://www.guldklassen.dk/public_html/index.php?topic=Video

// GET THE PARSED FORM ELEMENT
$vidFile = $HTTP_POST_VARS['vidFile'];

//DEBUG
//print $vidFile;
//print 'File name is: ' .$vidFile. '<BR>';

//ALIGN THE DISPLAY OBJECT
print '<CENTER>';

//INITIATE THE DISPLAY OBJECT
print '<OBJECT ID="ActiveMovie1" CLASSID="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A">';
print '<PARAM NAME="FileName" VALUE="' .$vidFile. '">';
print '<PARAM NAME="Version" VALUE="1">';
print '<PARAM NAME="EnableContextMenu" VALUE="-1">';
print '<PARAM NAME="ShowDisplay" VALUE="-1">';
print '<PARAM NAME="ShowControls" VALUE="1">';//-1=YES
print '<PARAM NAME="ShowPositionControls" VALUE="0">';//-1=YES
print '<PARAM NAME="ShowSelectionControls" VALUE="-1">';
print '<PARAM NAME="EnablePositionControls" VALUE="-1">';
print '<PARAM NAME="EnableSelectionControls" VALUE="0">';//-1=YES
print '<PARAM NAME="ShowTracker" VALUE="-1">';//-1=YES
print '<PARAM NAME="EnableTracker" VALUE="-1">';
print '<PARAM NAME="AllowHideDisplay" VALUE="0">';//-1=YES
print '<PARAM NAME="AllowHideControls" VALUE="0">';//-1=YES
print '<PARAM NAME="MovieWindowSize" VALUE="0">';
print '<PARAM NAME="FullScreenMode" VALUE="0">';
print '<PARAM NAME="MovieWindowWidth" VALUE="*">';//*=Dynamic (File)
print '<PARAM NAME="MovieWindowHeight" VALUE="*">';//*=Dynamic (File)
print '<PARAM NAME="AutoStart" VALUE="-1">';//0=NO
print '<PARAM NAME="AutoRewind" VALUE="-1">';//0=NO
print '<PARAM NAME="PlayCount" VALUE="1">';//0=Infinite
print '<PARAM NAME="SelectionStart" VALUE="0">';
print '<PARAM NAME="SelectionEnd" VALUE="sec.tenth">';
print '<PARAM NAME="Appearance" VALUE="-1">';
print '<PARAM NAME="BorderStyle" VALUE="-1">';
print '<PARAM NAME="DisplayMode" VALUE="-1">';
print '<PARAM NAME="DisplayForeColor" VALUE="16777215">';
print '<PARAM NAME="DisplayBackColor" VALUE="0">';
print '</OBJECT>';
print '</CENTER>';
Avatar billede henninga Novice
09. maj 2004 - 20:41 #1
Kan dette måske bruges:

<object id="MediaPlayer1"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
        classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
        type="application/x-oleobject"
        standby="Loading Microsoft® Windows® Media Player components...">

HenningA
Avatar billede henninga Novice
19. oktober 2004 - 01:02 #2
Hvad finder du ud af ???
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester

IT-JOB

Styrelsen for Grøn Arealomlægning og Vandmiljø

Teamleder til Application Management

Politiets Efterretningstjeneste

Bliv IT-supporter i PET's IT Servicedesk

Forsvarsministeriets Materiel- og Indkøbsstyrelse

Teknisk systemansvarlig / ingeniør inden for taktisk datalink

Zealand Business College

Faglig teamleder til IT Drift & Support