| Package | feathers.media | 
| Interface | public interface IVideoPlayer extends IAudioPlayer, ITimedMediaPlayer, IMediaPlayer | 
| Implementors | VideoPlayer | 
| Product Version : | Feathers 2.2.0 | 
| Property | Defined By | ||
|---|---|---|---|
![]()  | currentTime : Number [read-only] 
		 The current position of the playhead, in seconds.  | ITimedMediaPlayer | |
![]()  | isPlaying : Boolean [read-only] 
		 Determines if the media content is currently playing.  | ITimedMediaPlayer | |
| nativeHeight : Number [read-only] 
		 The original, native height of the loaded video.  | IVideoPlayer | ||
| nativeWidth : Number [read-only] 
		 The original, native width of the loaded video.  | IVideoPlayer | ||
![]()  | soundTransform : SoundTransform 
		 Controls properties of the currently playing audio, like volume and
		 panning.  | IAudioPlayer | |
![]()  | totalTime : Number [read-only] 
		 The maximum position of the playhead, in seconds.  | ITimedMediaPlayer | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the original, native width or height of the video content is calculated. | IVideoPlayer | |||
| nativeHeight | property | 
nativeHeight:Number  [read-only] The original, native height of the loaded video.
    public function get nativeHeight():NumberSee also
| nativeWidth | property | 
nativeWidth:Number  [read-only] The original, native width of the loaded video.
    public function get nativeWidth():NumberSee also
| dimensionsChange | Event | 
starling.events.Eventfeathers.events.MediaPlayerEventType.DIMENSIONS_CHANGEDispatched when the original, native width or height of the video content is calculated.
The properties of the event object have the following values:
| Property | Value | 
|---|---|
bubbles | false | 
currentTarget | The Object that defines the
	   event listener that handles the event. For example, if you use
	   myButton.addEventListener() to register an event listener,
	   myButton is the value of the currentTarget. | 
data | null | 
target | The Object that dispatched the event;
	   it is not always the Object listening for the event. Use the
	   currentTarget property to always access the Object
	   listening for the event. | 
See also