FMProjector/FMPlayer Tutorial > Play video in Flash
Back link
 

Home
FMProjetor
FMPlayer

Sample & Tutorial
 

Fundamental
- FSCommand Fundamental
- FMProjector Howto
- FMPlayer Howto
- Smartclips Howto
FSCommand Samples
- FSCommand Tutorial
- 1. Play video in Flash
- 2. Streaming&Overlap
- 3. Full screen video
- 4. Fast forward/backward
- 5. Synchronization
- 6. Embed PDF
- 7. Embed RealPlayer object
- 8. ASP interface
Smartclip Samples

- 9. Video w/ slider
-10. Read/write registry w/ sc
FSCommand Reference

- FAQ
- FSCommand Tutorial
- FSCommand fast track
Showcases
Support Forum
Submit yours
Anything done by you that can inspire and do help to others. It has better to be short, clear, and self-explained.

Contact
  Technical Support
  support@flashants.com
Marketing & Sales
  sales@flashants.com
Feedback & Suggestion
  feedback@flashants.com

 

Little Mentor Speak - download this sample files

(If you have problem to view this sample, please turn off video acceleration of WMP 9 by : WMP program menu -> Tools -> Options -> Performance -> Video acceleration -> change from full to none)

  1. Use the Flash authoring tool to add the following fscommands to your FLASH content to import video easily:
    fscommand ("fas.avclip.load", "../mediadata/baby.mpg");
    fscommand ("fas.avclip.xy", "90,60");
  2. Export the movie file as .swf file.
  3. Open the swf file with FMProjector to view the result.
  4. If you have a registered version of FMProjector, you can export standalone projector with FLASH + native Video integration contents.
  5. (With FMPlayer installed) Add the following code in your html file to embed your swf object, you do adjust the width, height and SwfURL value parameter to meet your .swf file. In this example, the SwfURL value parameter is 'turtorial1.swf'.

    <object id="FMClass1" width="330" height="250"
       classid="CLSID:637BB540-6ABA-11D4-901D-00D0090CB3BC"
       codebase="http://www.flashants.com/codebase/fmplayer.cab#version=1,5,2,0">
    <param name="LicenseKey" value="paste your License Key here">
      <param name="SwfURL" value="tutorial1.swf">
    <embed src="tutorial1.swf"
    pluginspage="http://www.flashants.com/download/download.shtml"
    type="application/x-FlashAnts-FMPLAYER" width="330" height="250">
    </embed> </object>
  6. (With FMPlayer installed) Open the html file with your browser to view the result.