June 7th, 2007, 10:27 AM | #1 |
Major Player
Join Date: Oct 2006
Location: Phoenix, AZ
Posts: 859
|
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> |
June 7th, 2007, 01:40 PM | #2 |
New Boot
Join Date: Jul 2005
Location: Brisbane, Queensland, Australia.
Posts: 23
|
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!;-) |
June 8th, 2007, 11:39 AM | #3 |
Major Player
Join Date: Oct 2006
Location: Phoenix, AZ
Posts: 859
|
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.
|
| ||||||
|
Thread Tools | Search this Thread |
|