DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Flash / Web Video (https://www.dvinfo.net/forum/flash-web-video/)
-   -   Custom Message in WMV Status Bar (https://www.dvinfo.net/forum/flash-web-video/96014-custom-message-wmv-status-bar.html)

Dana Salsbury June 7th, 2007 10:27 AM

Custom Message in WMV Status Bar
 
I'm creating video for someone's web site and want to put my own URL in the status bar for viral advertising. What code could I use to do that?

<OBJECT ID="MediaPlayer" WIDTH="534" HEIGHT="344" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://legacyhdv.com/07fashionshow.wmv">
<PARAM name="autostart" VALUE="true">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="http://legacyhdv.com/07fashionshow.wmv" NAME="MediaPlayer"
WIDTH="534" HEIGHT="344" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>
</OBJECT>

James Watt June 7th, 2007 01:40 PM

You will need to put that information in to the video before encoding it.
I cant remember where it is of the top of my head but is somewhere there when you are setting bitrate and video size etc, you can set author info copyright etc

Then in your code you will need to set showstatusbar or showdisplay to true.. Maybe both like this
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="290" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="true">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="290" ShowControls="1" ShowStatusBar="1" ShowDisplay="1" autostart="0"> </EMBED>
</OBJECT>

But you must make sure that the info is encoded to the video first.
Unless you are meaning some other way? Then im not sure!;-)

Dana Salsbury June 8th, 2007 11:39 AM

Thanks James. Spot on. I was looking for a way around that so that I could custom code my web videos depending on the use, but I guess I can built one consistant message from the beginning.


All times are GMT -6. The time now is 04:02 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network