views:

1676

answers:

3

I have uploaded a couple of tutorial videos in youtube.

In my winforms application (by using the AxShockwaveFlash object) i reproduce the selected video by the user.

AxShockwaveFlash1.LoadMovie(http://www.youtube ..video1)

Here comes the story.

The first time the user selects a video, reproduction works like a charm.

When the user selects to see the second video AxShockwaveFlash1.LoadMovie(http://www.youtube ..video2)

the ShockwaveFlash continues the reproduction of the first selection

+1  A: 

Without knowing how you have integrated the video in your form, the method I would do is using a webBrowsercontrol in the form and embed the video in the control. msdn on webBrowsercontrol

Qwark
+1  A: 

Try to use

AxShockwaveFlash1.Stop();
AxShockwaveFlash1.Movie = "Your source";
AxShockwaveFlash1.Play();

Pattern to avoid leaving flash arguments behind.

Tamir
A: 

Tamir, the video is embedded. Not stored locally

Movie property is only link, like as for LoadMoview
Tamir