Scripting assistance please...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sumotherdude
    Forum Member
    • Oct 2005
    • 1

    Scripting assistance please...

    Can someone help me with scripting?

    I'm working on a project where I want to set up buttons that will be linked to the Media Player plugin - when a button is clicked, the appropriate video is played.

    There used to be a good example of this in an older version of the program but I can't remember how to script it...

    John
  • yosik
    Indigo Rose Customer
    • Jun 2002
    • 1858

    #2
    just put a media plugin object on the page and have the following actions in the onClick event of your button:

    MediaPlayer.Load("Plugin1", "AutoPlay\\Videos\\MyVid.mpg");
    MediaPlayer.Play("Plugin1");

    Good luck

    Yossi

    Comment

    Working...
    X