Log in

View Full Version : WMV9 embedded in webpage... (doesn't work...!)


plonk420
27th November 2004, 03:05
so, yay! i've gotten an internship where i can use my knowledge of encoding video at least part of the time.

i blew the editors away who were used to the shitty codec Sorenson 3 Standard with WMV9 (yeah, yeah, it's not the absolute best, but it's a no-interaction-needed solution for non-geeks...and it'll tide me over until AVC hits QT 6.whatever).

so now i need to be able for them to show clients. i looked at many microsoft webpages (and others for that matter). no matter how many things i've tried, i can't get it to play back in Win2K (and probably other versions as well). it only seems to play in WinXP (and OSX, which is quite humorous).


i've tried the following: ( here (http://www.imsproductions.com/web_movies/ATG_Javelin_15mb.html) )


<EMBED pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
SRC="http://www.imsproductions.com/web_movies/ATG_Javelin_15mb.asx"
width=480
height=272
AutoStart=true>
</EMBED>

and this (http://www.imsproductions.com/web_movies/ATG_Javelin_15mb-new.html)

<OBJECT ID="MediaPlayer1" width=480 height=272
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="
http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://www.imsproductions.com/web_movies/ATG_Javelin_15mb.asx">
<PARAM NAME="AutoStart" VALUE="true">
<EMBED type="application/x-mplayer2"
pluginspage =" http://www.microsoft.com/Windows/MediaPlayer/"
SRC="http://www.imsproductions.com/web_movies/ATG_Javelin_15mb.asx"
name="MediaPlayer1"
width=480
height=272
AutoStart=true>
</EMBED>

</OBJECT>

and this (http://www.imsproductions.com/web_movies/ATG_Javelin_15mb-old.html)

<object id="NSPlay"
width=480
height=272
classid="CLSID:2179C5D3-EBFF-11CF-B6FD-00AA00B4E220"
codebase="http://www.microsoft.com/netshow/download/en/nsmp2inf.cab#Version= 5,1,51,415"
standby="Loading Microsoft Media Player components..."
type="application/x-oleobject">
<param name="FileName" value="ATG_Javelin_15mb.asx">
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="true">
<param name="ShowStatusBar" value="true">

<param name="AutoSize" value="true">
<embed
width="480"
height="272"
src="http://www.imsproductions.com/web_movies/ATG_Javelin_15mb.asx"
showstatusbar="true" type="video/x-ms-asf-plugin"
showcontrols="true"
showdisplay="true"
pluginspage="http://www.microsoft.com/netshow/download/player.htm">
</embed>
</object>


i originally used the .WVX that's in that web_movies folder, but that didn't work, which led me to try .ASX, which was my last attempt and the only other thing i knew to do.

anyone have any ideas?


edit: by doesn't work, i mean it just sits displaying the Windows Media Player screen (or whatever) and doesn't do anything.

Longinus
29th November 2004, 08:44
But are you streaming this files with a stream server? Or just playing the file?

Anyway... this is how I do it, for streaming files (I don't know it if matters). I've seem a lot of diferent ways to do this, and most of them works everywhere (even on Macos X).


<OBJECT ID="MediaPlayer" WIDTH=245 HEIGHT=245
CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<PARAM name="autoStart" value="True"/>
<PARAM name="filename" value="http://MOVIE/>
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
Name="MediaPlayer" src="http://MOVIE" AutoStart=1 ShowStatusBar=1
volume=-1 HEIGHT=245 WIDTH=240></embed>
</object>

Leak
29th November 2004, 09:28
Originally posted by plonk420
so now i need to be able for them to show clients. i looked at many microsoft webpages (and others for that matter). no matter how many things i've tried, i can't get it to play back in Win2K (and probably other versions as well). it only seems to play in WinXP (and OSX, which is quite humorous).

Well, W2K doesn't ship with WMV9 codecs - did you install these first before trying to stream your videos?

Here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/rediswmedc.asp) is an MSDN page about redistributing the codecs, and a Google search for wmfdist.exe should turn that up as well.

plonk420
30th November 2004, 09:15
Originally posted by Leak
Well, W2K doesn't ship with WMV9 codecs - did you install these first before trying to stream your videos?

Here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/rediswmedc.asp) is an MSDN page about redistributing the codecs, and a Google search for wmfdist.exe should turn that up as well.

isn't it supposed to attempt to phone home and automagically download the codecs (if it's 6.4 or later)? after asking permission to install them, of course :)