<img> linking to Flash player
So I created a flash play list using xml, and it works for the most part besides the embedding problem. Anyway, I am wondering if there is a way to have an image (or any link) on the HTML page communicate with the flash video player to have that video play.
IE.
HTML Code:
<img src="images/demo1.jpg"/>
<div class="example">
text1: text1 <br>
text2: text2
</div>
when that image is clicked on I want the flash video player to play demo1.flv.
or when
HTML Code:
<img src="images/demo2.jpg"/>
<div class="example">
text1: text1 <br>
text2: text2
</div>
is clicked the flash video player would need to play demo2.flv
I also don't want to reload the page every time a new video is selected to play.
Thanks for any help.