PDA

View Full Version : opening windows media player within a iframe



mike7510uk
01-24-2006, 11:22 AM
how do i open windows media player within a iframe. i have all the code in place (embed etc). if people want to see it

jscheuer1
01-24-2006, 06:50 PM
I shouldn't think this such a problem, did you try the obvious? That would be to make a page with your object/embed code on it. Call the page say - mediawin.htm, then for your iframe:


<iframe src="mediawin.htm"></iframe>

mike7510uk
01-25-2006, 08:07 AM
no, i didnt try the obvious (so like me!!) but i see what it is going to do, but i have several links that all open pages up in the same iframe, so will what you say above still work?

jscheuer1
01-26-2006, 04:45 AM
Sure, you can target the iframe from the top page, give the iframe a name:


<iframe name="mwin" src="mediawin.htm"></iframe>

Then links on the top page could be like:


<a href="mediawin2.htm" target="mwin">Content Two's Description</a>

mike7510uk
01-26-2006, 08:03 PM
the trouble im having now is that i have 17 different videos i want to play within that iframe, all 17 have their own links on the main page. so, for example i click on one of my other links (about us etc) these pages open in the iframe. then i chose to open up media item 15 say, how do i get that to open in that iframe?

jscheuer1
01-26-2006, 08:05 PM
Put it on its own page and use the method from my previous post.