canPlay

canPlay(): Boolean;

The canPlay method of the MultiMedia class returns whether the device can play its media.

If the useDotNetVersion property is set to true, the canPlay method returns a fixed value of true.

See also the play and playFromTo methods.