I've got a bunch of video files on the server with their names and some meta
data stored in a table.
I'm building a page that will allow a user to display the videos inline on the
web site instead of as a direct link to the file on the server, thus launching
the app (ie; Windows Media Player).
All's fine, however the embedded players don't auto-size to the size of the
media. @#*@&^!!
o The QT embedded player requires a width and height number, or it hides the
video
o The WM embedded player plays all videos small unless you supply a size
I am assuming that it may be possible to get the properties of the video file
once it's been loaded via Javascript... if so, I should be able to plug those
numbers in to the object / embed tags, right?
Anyone have experience with this?
Michael
<OBJECT ID="mediaPlayer" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab##Version=5,1,52,701"
STANDBY="Please wait while componants are loaded..."
TYPE="application/x-oleobject"
width="320"
height="240"
>
<PARAM NAME="fileName"
VALUE="#request.d.siteFolder#/_groups/#url.g#/#request.d.thisfunction#/#qs_play.filename#">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="false">
<PARAM NAME="width" VALUE="320">
<PARAM NAME="height" VALUE="240">
<PARAM NAME="autoStart" VALUE="true">
<param name="showStatusBar" value="false">
<param name="stretchToFit" value="True">
<PARAM NAME="showControls" VALUE="True">
<PARAM NAME="autoSize" VALUE="1">
<PARAM NAME="EnableContextMenu" VALUE="0">
<PARAM NAME="uiMode" VALUE="none">
<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID="mediaPlayer" NAME="mediaPlayer"
autoSize="1"
autostart="True"
BGCOLOR="darkblue"
src="#request.d.siteFolder#/_groups/#url.g#/#request.d.thisfunction#/#qs_play.filename#"
SHOWCONTROLS="True"
SHOWTRACKER="True"
SHOWDISPLAY="False"
stretchToFit="True"
SHOWSTATUSBAR="true"
VIDEOBORDER3D="False"
LOOP="False"
uimode="none"
WIDTH="320"
HEIGHT="240"
<!---
DISPLAYSIZE="0"
DESIGNTIMESP="5311"
--->
AUTOSTART="1"
>
</EMBED>
</OBJECT>
--------
Michael Muller
Admin, MontagueMA.net Website
work (413) 863-0030
cell (413) 320-5336
skype: michaelBmuller
http://www.MontagueMA.net
Eschew Obfuscation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269470
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4