Avatar billede fredand Forsker
18. oktober 2002 - 08:49 Der er 11 kommentarer og
1 løsning

Problems with *.wmv files

Hello!

I can't play my own *.wmv files through IE.

I have a little site with 2 exampels of streaming. One with a *.asf file and one with a *.wmv.

To receive the files and play it I use this code for Internet Explorer:
      <TR>
        <TD>
            <H1>FILM 1 (ASF-FILM)</H1>
            <OBJECT CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
              <PARAM NAME="FILENAME" VALUE="VIDEO/TEST1.ASF"/>
              <PARAM NAME="DISPLAYSIZE" VALUE="1"/>
              <PARAM NAME="AUTOSTART" VALUE="FALSE"/>
              <PARAM NAME="SHOWTRACKER" VALUE="FALSE"/>
              <PARAM NAME="SHOWCONTROLS" VALUE="TRUE"/>
            </OBJECT>
          </TD>
      </TR>
      <TR>
        <TD>
            <H1>FILM 2 (WMV-FILM)</H1>
            <OBJECT CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
              <PARAM NAME="FILENAME" VALUE="VIDEO/TEST2.WMV"/>
              <PARAM NAME="DISPLAYSIZE" VALUE="1"/>
              <PARAM NAME="AUTOSTART" VALUE="FALSE"/>
              <PARAM NAME="SHOWTRACKER" VALUE="FALSE"/>
              <PARAM NAME="SHOWCONTROLS" VALUE="TRUE"/>
            </OBJECT>
          </TD>
      </TR>

But the problem is that the *.wmv film doesnt show just the sound. I can play the ASF file in Windows Media Player 6.0 And I Can play the WMV file in Windows Media Player 7.1 when I doubble click them in Explorer.

I guess that the CLASSID refers to the old Windows Media Player 6.0.

So does any body know how to call the new Windows Media Player 7.1 instead*? Is possible to check different CLASSID some where?

And the strange thing is that when I enter this site a *.wmv plays: http://www.y-klassen.dk/test/test.html

Please Help!

Best regards

Fredrik
Avatar billede fredand Forsker
18. oktober 2002 - 08:51 #1
In other words this files works at http://www.y-klassen.dk/test/test.html but I can't figure out why?
Avatar billede nikolajdu Nybegynder
18. oktober 2002 - 09:53 #2
Try this one instead - I have used this with .wmv.
<object id="MediaPlayer"
    width="320" height="313"
    classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"
    align="baseline" border="0"
    standby="Loading Microsoft Windows Media Player components..."
    type="application/x-oleobject">
  <param name="FileName" value="lifetime2.wma">
  <param name="ShowControls" value="0">
  <param name="ShowPositionControls" value="0">
  <param name="ShowAudioControls" value="1">
  <param name="ShowTracker" value="1">
  <param name="ShowDisplay" value="0">
  <param name="ShowStatusBar" value="1">
  <param name="AutoSize" value="0">
  <param name="ShowGotoBar" value="0">
  <param name="ShowCaptioning" value="0">
  <param name="AutoStart" value="0">
  <param name="AnimationAtStart" value="0">
  <param name="TransparentAtStart" value="0">
  <param name="AllowScan" value="1">
  <param name="EnableContextMenu" value="1">
  <param name="ClickToPlay" value="0">
  <param name="InvokeURLs" value="1">
  <param name="DefaultFrame" value="datawindow">
</object>
Avatar billede fredand Forsker
18. oktober 2002 - 10:20 #3
Hello Nikolajdu!

I tried it out just change it to my file instead. But like before I just hear the sound.

But isn't you using a sound-file lifetime2.wma without video?

Best regards

Fredrik
Avatar billede nikolajdu Nybegynder
18. oktober 2002 - 11:24 #4
Yup you are rigth, but you should just change my .wma to your .wmv it should work - otherwise I have to take a closer look during the weekend.
Avatar billede fredand Forsker
18. oktober 2002 - 13:20 #5
Acctually I did, but it didn't work for me.

By the way you got some points to pick up at: http://www.eksperten.dk/spm/271851

Best regards
Fredrik
Avatar billede fredand Forsker
08. november 2002 - 10:10 #6
Hello!

I never got the inbedded object to work with *.wmv  files but when I tried like this the new Media Player started and it worked: <A HREF="VIDEO/TEST3.WMV">Test</A>

Not as beutiful as above but I will go for this! But if you get it to work with the OBJECT-tag please let me know.

Thanks for your time!
Best regards
Fredrik
Avatar billede nikolajdu Nybegynder
08. november 2002 - 10:11 #7
no problemos amigo.
Avatar billede margitbork Nybegynder
27. oktober 2003 - 11:28 #8
I have the problen that i can´t get it to work in a href tag....
is it the version of IE or what ?? I have Windows XP and IE 6.0
Avatar billede fredand Forsker
27. oktober 2003 - 12:50 #9
Hello!

I use this code <A HREF="VIDEO/TEST3.WMV">Testa</A>
in Win 2000 IE 6.0 Media Player 9.0

Hope it helps!

Fredrik
Avatar billede margitbork Nybegynder
27. oktober 2003 - 14:02 #10
If it gives you problems it is the setup of the Server... Check the MIME types it it is possible..
Avatar billede fredand Forsker
27. oktober 2003 - 14:11 #11
Hello!

But did you got it to work?

Fredrik
Avatar billede margitbork Nybegynder
27. oktober 2003 - 14:13 #12
I am working in it....I will tell when it works....
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