0

Hello guys,
I have a image on my static site. I want to load that html page along with that image but when a user click in that image area it tries to play a youtube video within that image area through flash. How can i accomplish that? Can anyone help me about that. From youtube what code i need. Can you give me the concept I am a novice developer. So if anybody kind enough to show me through
raw code here

thank you all

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by donaldw
0

How i do that in javascript. Cause i heard that it can be done through
javascript.

0

Well, when you go to a YouTube video, it has the code for embedding the video into a webpage. That could be a useful starting point.

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/NiEUMTT5TxY&hl=en_US&fs=1&"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/NiEUMTT5TxY&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
</object>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.