![]() ![]() If you'd like to set it than see the setCurrentTextTrack method.Ī double indicating the current playback time in seconds. Defaults to -1 to when all text tracks are disabled. Gets the index of the currently active text track. ![]() Defaults to undefined if no media has been loaded. The absolute URL of the media resource that has been chosen. Provider.Audio ∣ Provider.Dailymotion ∣ Provider.Dash ∣ Provider.HLS ∣ Provider.Video ∣ Provider.Vimeo ∣ Provider.YouTube ∣ undefined Defaults to undefined when no provider has been loaded. The current provider name whose responsible for loading and playing media. Defaults to undefined if no media/poster has been loaded. The absolute URL of the poster for the current media resource. ![]() If you'd like to set it than see the setCurrentAudioTrack method. Defaults to -1 to when the default audio track is used. Gets the index of the currently active audio track. Depending on the provider, changing this prop may cause the player to completely reset. Set this to false when you want to provide your own custom controls, and true if you want the current provider to supply its own default controls. Indicates whether a user interface should be shown for controlling the resource. Whether playback has temporarily stopped because of a lack of temporary data. The length of the media in seconds that has been downloaded by the browser. You can check if it's possible to autoplay via the canAutoplay() or canMutedAutoplay() methods. It'll generally work if the player is muted, or the user frequently interacts with your site. This will only work if the browsers autoplay policies have been satisfied. Whether playback should automatically begin playing once the media is ready to do so. Whether the player should automatically pause when another Vime player starts/resumes playback. The audio tracks associated with the current media. This is only applied if the viewType is video and the player is not in fullscreen mode. The aspect ratio of the player expressed as width:height ( 16:9). ![]()
0 Comments
Leave a Reply. |