INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
embedding a wmv file in webpage?

Forum Index -> Video -> Programming Printer-friendly version
Reply to topic
Author Message
pastorsam
Member


Joined: 23 Jun 2007
Location: United States

Post Posted: Jul 06, 2007 18:04 Posts Comp View users profile Send private message Reply with quote

anyone know a simple code for this??

lightbulb.gif
uhhhh. Hours of searching and trying (and even some holy cursing realmad.gif )

BUT, I finally figured it out.
biggrin.gif


zoobie
HDV Coder


Joined: 27 Feb 2005
Location: Colorado Rocky Mountains

Post Posted: Jul 06, 2007 20:56 Posts Comp View users profile Send private message Reply with quote

guess the cursing helped
what did you use? a displayed player?
_________________
Sony HC5 HDV, Konica FS-1 SLR, Canon A1 Hi8
Shoot first and ask questions later toma.gif


pastorsam
Member


Joined: 23 Jun 2007
Location: United States

Post Posted: Jul 06, 2007 21:29 Posts Comp View users profile Send private message Reply with quote

Well, first I said, "&&*%$$#@." And then it got to, "You **^%@! of a *&++*/"

biggrin.gif

OK seriously, I "borrowed" someone's code as follows:

<object id="MediaPlayer" height="310" width="320"
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" align="right">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="-1">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="Filename" value="http://www.thespringschurch.com/videos/vbs2007high.wmv">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="0"><embed type="application/x-mplayer2" src="/videos/vbs2007high.wmv" width="320" height="310" name="MediaPlayer" autostart="True" ShowStatusBar="0" ShowControls="1">
</OBJECT>

You know, I didn't copy and paste that much code. Looks like my computer went all Transformers on me and mutated. Oh well, it seems to work fine.

Peace!


zoobie
HDV Coder


Joined: 27 Feb 2005
Location: Colorado Rocky Mountains

Post Posted: Jul 06, 2007 21:40 Posts Comp View users profile Send private message Reply with quote

looks like most of the variables...
another huge thread on this topic here for future reference
http://codingforums.com/showthread.php?t=50666
_________________
Sony HC5 HDV, Konica FS-1 SLR, Canon A1 Hi8
Shoot first and ask questions later toma.gif


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Programming Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics