Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
WEB: Web Design Forum- TutorialsDreamweaver Forum- TutorialsFlash Forum- TutorialsWeb StreamingTraining

videos playing in the same window

Cow Forums : Adobe Dreamweaver
videos playing in the same window
by egeefay on Oct 11, 2007 at 12:06:28 am

I have several flv movies that I would like to post on a website.
But there are about 10 of them and to embed each one in a html page would take up so much space.
I'd like to be able to click on a small icon for each movie and have it play in the same place
Sort of like this
It doesn't look like a flash site.
How do they do it?

Respond to this post   •   Return to posts index

Re: videos playing in the same window
by Abraham on Oct 11, 2007 at 3:06:54 am

That page is using jsp which is a server side language and each video is on a separate page that is dynamically generated using server side coding. The simplest way to do this and have it look the same as what they did is use an iframe.

Make a separate web page just containing the video that will take up that space. Below the iframe put a row of images that are icons of the movies and have the hyper link for each image point to each movie and the target be the iframe.

The code would look something like this:


<iframe name="MYMOVIEFRAME" src="http://MYDOMAIN.COM/MYMOVIE_1.HTM" width="400" height="300"></iframe>
<br />
<a href='http://MYDOMAIN.COM/MYMOVIE_1.HTM' target="MYMOVIEFRAME">
<img src="http://MYDOMAIN.COM/MOVIE_ICON_1.HTM" />
</a>
<a href='http://MYDOMAIN.COM/MYMOVIE_2.HTM' target="MYMOVIEFRAME">
<img src="http://MYDOMAIN.COM/MOVIE_ICON_2.HTM" />
</a>
<a href='http://MYDOMAIN.COM/MYMOVIE_3.HTM' target="MYMOVIEFRAME">
<img src="http://MYDOMAIN.COM/MOVIE_ICON_3.HTM" />
</a>
<a href='http://MYDOMAIN.COM/MYMOVIE_4.HTM' target="MYMOVIEFRAME">
<img src="http://MYDOMAIN.COM/MOVIE_ICON_4.HTM" />
</a>


There are obviously other ways to do this one but this is the simplest.


Respond to this post   •   Return to posts index

Re: videos playing in the same window
by egeefay on Oct 11, 2007 at 6:14:30 pm

Yes.
iframes.
It took me a while but after looking at your code I was able to substitute my owe files and get it to work
Thanks a whole lot, Abraham

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]