Ad Video Player
interface AdVideoPlayer
Interface definition for controlling video playback.
Types
Link copied to clipboard
interface PlayerCallback
Interface for alerting caller of major video events.
Functions
Link copied to clipboard
Provide the player with a callback for major video events (pause, complete, resume, etc).
Link copied to clipboard
Prevent the media controller (playback controls) from appearing.
Link copied to clipboard
Allow the media controller (playback controls) to appear when appropriate.
Link copied to clipboard
Link copied to clipboard
Get the playback progress state (milliseconds) of the current video.
Link copied to clipboard
Get the total length of the currently loaded video in milliseconds.
Link copied to clipboard
Remove a player callback from getting notified on video events.
Link copied to clipboard
Set the URL or path of the video to play.
Link copied to clipboard
Stop playing the currently loaded video.