Class FirstFrameEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.FirstFrameEvent

public class FirstFrameEvent extends Event
Fired the instant a video or audio file begins playback.
  • Constructor Details

    • FirstFrameEvent

      public FirstFrameEvent(JWPlayer player, double loadTime)
  • Method Details

    • getLoadTime

      public double getLoadTime()
      Returns:
      The amount of time (In milliseconds) it takes for the player to transition from a play attempt to a firstFrame event.