Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Play flash video in editable region selected from another region?

Status
Not open for further replies.

lance59

IS-IT--Management
Mar 6, 2007
50
US
Hi All,

I have a template based web site. I have an editable region on the right side that I want to list different flash video file names. When you click on one of them I need it to play in another editable region on the same page (i.e. in the center). So how do I point the file to the other region to the flash player? Or is there an easier way that I don't see and am I making this too hard.

Here is the code I have in the middle editable region, with a video file already listed, but I need to replace this file with the one that will be selected in another editable region.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="362" height="314" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="flash_video/VTS_01.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="VTS_01.swf" quality="high" align="middle" bgcolor="#ffffff" width="362" height="314" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="</object>

TIA
 
Is this 1 movie per page concept?

If YES then:
place your code inside the tages:
<!-- TemplateBeginEditable name="EditRegion1" -->
...your code above....
<!-- TemplateEndEditable -->

If NOT then:
why not use new window or popup....don't think that 'player' or 'slide show' concept will work as editable regions.
Perhaps some JS with onClick action to change the filename as a variable ("....<param name="movie" value="flash_video/VTS_01.swf">..." and/or "...<embed src="VTS_01.swf...")
Most of the time you would use flash to generate entire "thumb-gallery" concept with a player like interface so you look through flash forum.
All the best!

:--------------------------------------:
fugitive.gif


All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top