Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Create a link to play a video

3 replies [Last post]

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

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

Hi everybody,
When clicking on a video link from a web site in order to play the video, it is played instantly. That's OK.
But when trying the same thing on another specific computer, ie first download the entire video file then only start to play it.
Why is that and how can i solve the problem?
Configuration:
DELL Optiplex GX520
Win XP PRO with SP3 fully updated.
IE 8
Many thanks,
Yoel

Yoel - where are you running this?