For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • Player SDKs
    • Introduction
  • Web player
    • Install the FastPix web player
    • Play uploaded videos
    • Handle playback errors
      • Autoplay, loop, and mute
      • Control playback speed
      • Set the volume preference
      • Control playback resolution
      • Set the playback start point
      • Set the seek duration
      • Manage audio and subtitles
      • Add seek preview thumbnails
      • Add chapters to the video timeline
      • Listen to player events
      • Cast to Chromecast (Beta)
  • Android player
    • Install FastPix Android player
    • Set up the player
    • Play uploaded videos
    • Handle playback errors
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Loop video playback
  • Muted playback
  • Autoplay with mute (conditional)
Web playerPlayback

Autoplay, loop, and mute

Was this page helpful?
Previous

Control playback speed

Next
Built with

Learn how to use FastPix Player to enable autoplay, loop, and muted playback for an improved and customized video experience.

You can customize the video playback behavior with a set of attributes and thereby tailor the playback experiences for your viewers.

Loop video playback

With the loop attribute you can activate continuous video playback. Upon reaching the video’s end, playback automatically restarts from the beginning, delivering uninterrupted viewing.

This is particularly useful for content designed for continuous playback, such as looping animations, video advertisements, or background videos. If you’re building an application for short videos, for instance reels and shorts in UGC platforms - this is a must-have feature.

Example to enable loop:

1<fastpix-player
2 playback-id=`{Playback_id}`
3 loop
4></fastpix-player>

Muted playback

Use the muted attribute, initiate your video playbacks with the sound muted, ideal for situations where silent video introductions or background playback are preferred.

You can enhance the user experience in scenarios where audio isn’t crucial, such as silent video teasers, presentations, or videos playing in public spaces.

Example to enable muted playback:

1<fastpix-player
2 playback-id=`{Playback_id}`
3 muted
4></fastpix-player>

Autoplay with mute (conditional)

When the autoplay attribute is included, playback will initially start muted. Viewers can always unmute or adjust the volume to their preference using the player controls. This streamlines the viewing experience and potentially reduces bandwidth consumption on mobile data plans.

This offers a balance between immediate playback and user control. Videos begin playing without interrupting with sound, but viewers retain the ability to enable audio if desired. It can also be useful for conserving data usage on mobile connections.


1<fastpix-player
2 playback-id=`{Playback_id}`
3 auto-play
4></fastpix-player>