Jump to content


Button link to video


  • You cannot reply to this topic
2 replies to this topic

#1 Jessica

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 19 April 2006 - 03:03 PM

Hi, I have an HTML page that contains a flash.
In the Flash, I would like to have a button,
when I press to the button,
the defaut player (Media Player, QuickTime, Real Player, etc...) of the user open
and plays automatically the video.

The video is externally (root where is the index.html)
it’s inside a folder called 'videos'.

Can someone can help me to do that please?

Thanks

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 19 April 2006 - 04:31 PM

The actionscript would look like this:

on(press){
getURL("http://www.yourdomain.com/videos/yourMedia.wmv", "_blank");
}

The system should recognize the filetype and open the according application..

Edited by funkysoul, 19 April 2006 - 04:32 PM.


#3 Jessica

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 20 April 2006 - 06:00 AM

Thanks a lot Funkysoul !





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users