Personalize volume preference
Customizing volume behavior in the FastPix Player helps to create a tailored experience for users by managing how volume settings are remembered or reset. By default, FastPix Player saves the volume level that a viewer sets during a playback session and automatically applies this preference in future sessions. This feature enhances convenience for users, allowing them to maintain a consistent volume setting without needing to adjust it each time they view a video.
Disabling volume storage
To modify this behavior, you can use the no-volume-pref attribute. When this attribute is applied, FastPix Player will not store the volume setting from a previous session. This ensures that each video playback starts at the default volume level, providing a uniform listening experience across different videos. It is particularly useful when consistent playback volume is necessary or when you want to prevent personalized volume preferences from being retained for specific videos.
This capability provides flexibility in managing volume control. By disabling volume preference storage, you can standardize the initial playback volume, which is ideal for ensuring a controlled audio experience regardless of a viewer’s previous settings. Additionally, it can be beneficial in scenarios where storing user preferences is not desirable, such as public or shared environments.
Example configuration:
<fp-player
playback-id="{Playback_id}"
no-volume-pref
></fp-player>
In this example, the no-volume-pref
attribute is applied, ensuring that the volume setting will not be stored between playback sessions.
Updated 23 days ago