Login

Control playback speed

FastPix Player provides the flexibility to customize playback speed, enabling viewers to adjust the pace of video content according to their preferences. This feature can enhance user experience by catering to different viewing needs, such as slowing down for better comprehension or speeding up to save time.


Playback rates

You can customize the playback speed by using the playbackRate or playbackRates attributes. The playbackRate attribute is used to set a single playback speed, while playbackRates can be configured to provide a list of options.


For instance, if you want to set a single playback speed of 1.5x, you can use playbackRate="1.5". On the other hand, if you wish to offer multiple speed choices to your viewers, you can use playbackRates="0.5 1.0 1.5 2.0", which provides options ranging from 0.5x (slower speed) to 2x (faster speed), with 1x as the normal playback speed.


Configuring playback rates ensures that users have more control over their viewing experience. This capability is particularly useful for accommodating viewers with diverse needs and preferences. For example, users who require more time to process information can slow down the playback, while those looking to save time or review familiar content quickly can speed it up. Additionally, offering variable playback speeds can benefit individuals with learning differences or those who need to closely analyze video content for specific details.


Example implementation

To implement playback speed control in FastPix Player, use the following sample code:

<fp-player 
  playback-id=`{Playback_id}` 
  playback-rates = "1 4 5 6 7 2"  
  default-playback-rate="3" 
></fp-player> 

In this example:

  • playbackRates="1 4 5 6 7 2": Provides the viewer with options to watch the video at 1x, 2x, 4x, 5x, 6x, and 7x speeds.
  • playbackRate="3": Sets the default playback speed to 3x when the player is initialized.

Playback rate in video player