Nov. 05, 2009manuel
Hi Everybody,
I just want to know if there is a possibility to have an external link to play an embedded video, I have the following code:
<div style="width: 254px; height: 157px; border-style: solid solid solid solid; border-width: 1px 1px 0px 1px; border-color: #000000;">
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="254" height="157">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=video.flv&autostart=true" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player.swf"
width="254"
height="157"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=video.flv&autostart=true"
/>
</object>
</div>
And I want to have a link outside this code to play the video, something like:
<a href=""> Click here to watch the video </a>
If this is possible, please show me how to do it.
Thanks in advance,
Manuel
Nov. 06, 2009Ethan LongTail
Hi Manuel,
This is Ethan from LongTail here to help you.
You can do this with the JS API, here is an example - http://developer.longtailvideo.com/contributors/nyboe/JW_API_xmpl_5-1-0-0.html
Please email me directly at ethan [at] longtailvideo [dot] com to follow up if you have any other questions, thank you.
Best Regards,
-Ethan
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.