Video.open() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Video Class Summary

Availability
Windows, Mac OSX, Linux

Usage
videoInstance.open(path:String):void

Parameters
path:String path to local file to be loaded and played in existing player instance

Returns
Nothing

Description
this method loads (or reloads if you provide the same path as in constructor) video file into player and starts its playback. The file needs to exists and cannot be remote URL.
Using that method would allow you to reuse instance of Video object to playback multiple files preserving system memory for use for other content.

Notes

Example Code
if(myPlayer)
{
myPlayer.open(newVideoPath);
};

mdm.Video Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page