Ask a Question related to Macromedia ColdFusion, Design and Development.
-
scbasser #1
Adding a video gallery
I'm trying to create a video gallery page that has an embedded Windows Media
Player at the top of the page and then a table of links (database driven) to
different videos right below it. Users would click the links and the video
would start playing in the player above. But I can't get it to work. Here's the
code I'm trying to use. I'm not too experienced with Cold Fusion so please
don't get too complicated with the answer if possible. Thanks!
<cfquery datasource="#attributes.dsData#" name="qInterviews">
SELECT TOP 4 *
FROM Interviews
WHERE isActive = '1'
ORDER BY interviewDate DESC
</cfquery>
<cfoutput>
<table width="100%" class="videoplayer">
<tr>
<td align="center">
<OBJECT ID="NSPlay" WIDTH=330 HEIGHT=333
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#
#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" align="center">
<PARAM NAME="FileName" value="#attributes.videodir#/#URL.filename#">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowPositionControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="0">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoSize" value="-1">
<param name="DisplaySize" value="0">
<param name="AutoStart" value="-1">
<param name="TransparentatStart" value="-1">
<param name="AnimationatStart" value="-1">
<param name="AudioStream" value="-1">
<param name="AllowScan" 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="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="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="ShowGotoBar" value="0">
<param name="ShowTracker" value="-1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-180">
<param name="WindowlessVideo" value="0">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaP
layer/"
filename="#attributes.videodir#/#URL.filename#"
src="#attributes.videodir#/#URL.filename#"
showcontrols=1
showaudiocontrols=1
showpositioncontrols=1
showdisplay=0
showstatusbar=0
allowchangedisplaysize=1
autosize=1
displaysize=0
autostart="True"
TransparentatStart="True"
AnimationatStart="True"
width=330
height=333></embed>
</object>
</td>
</tr>
</table>
</cfoutput>
<table width="100%" class="video">
<tr>
<cfoutput query="qInterviews">
<td>
#Desc1#<br>
<cfset filename="#interviewFile#">
<a href="##NSPlay&filename=#Variables.filename#">Audi o Interview</a>
</td>
</cfoutput>
</tr>
</table><br><br>
scbasser Guest
-
adding photoshop web gallery
In photoshop directions it says I have to save the web gallery file in my web page folder, and then add the html link. Is there such a folder? Can... -
Dynamic Streaming Video Gallery Help
Hey, I'm creating a dyanmic video gallery in which buttons are dynamically generated and they change the contenpath of a flv component on the stage.... -
Deconstructing the Flash Video Gallery
Hi, I am trying to chew my way through the 'Deconstructing the Flash Video Gallery' on the Macromedia website and need some help. When you click... -
best way to build a video gallery
I would like to build a video gallery. But, I'm not sure what's the best way to do that. I'm wondering what is the smallest format to use? mpeg? ... -
Web Photo Gallery not adding Security text over JPEGs
I've been converting graphic files to Web Photo Galleries and it works like a charm, but I can't seem to get Security text to be added over JPEG...



Reply With Quote

