Rank: Member Groups: Member
Joined: 7/6/2010 Posts: 11 Points: 33 Location: Vancouver
|
Hi... I will appreciate the help of any good coder out there to figure out something simple for you but really hard for a beginner VB.net coder like me :-)
I am using the Flash-Video control to create a simple page that has a "Video Tutorial" button. When the user clicks it, I need to load/play a video on client side; and then hide it upon completion or upon clicking a "Stop Video" button (using the GUI control).
If anybody has done something similar, I would appreciate to see some code for that. Thanks in advance to all.
|
Rank: Administration Groups: Administration
Joined: 7/26/2007 Posts: 676 Points: 1,728 Location: USA
|
|
Rank: Member Groups: Member
Joined: 7/6/2010 Posts: 11 Points: 33 Location: Vancouver
|
Hi Jake,
Your feedback for my last 2 posts has been great. Thanks for your prompt reply and for the information provided.
I got my code to play/stop the video on client side. I added the buttons: <input type="button" value="PlayMedia" onclick='ASPNetMedia.FlashVideo("FlashVideo1").PlayMedia ()'/> <input type="button" value="StopMedia" onclick='ASPNetMedia.FlashVideo("FlashVideo1").StopMedia ()'/>
Since it's a green screen/transparent video, when the video is stopped, the content in the background is not selectable. Therefore I am also using the following Javascript:
ASPNetMedia.FlashVideo("FlashVideo1").OnStop = function(object, position) { document.getElementById('<%= FlashVideo1.ClientID %>').style.display = 'none'; }
ASPNetMedia.FlashVideo("FlashVideo1").OnPlay = function(object, position) { document.getElementById('<%= FlashVideo1.ClientID %>').style.display = ''; }
When stopping, everything works fine (and I can select the background content), but I can't get the video to re-play the video again. Any ideas?
Thanks in advance :-)
|
Rank: Newbie Groups: Member
Joined: 8/13/2010 Posts: 1 Points: 3 Location: usa
|
460cc Complete Inertial Design Proprietary technology creates maximum (cheap golf clubs for sale) perimeter weighting and more discretionary weight for precise positioning of the CG and exceptional stability on off-center hits, enabling ball flight customization for optimal individual performance. Most golfers may know that it is important to own good golf clubs. If you want to save your golf game, you should own the great golf clubs which may be bought from the r9 fairway wood online and the good golf swing skills. ishiner
|