You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request:
It would be beneficial if the HLS-Video-Reels library could include support for displaying a placeholder image and a loading indicator (e.g., UIActivityIndicatorView) when videos take time to load or buffer.
Use Case:
When loading videos, especially from a remote URL, there can be a delay before the video is ready to play. During this delay, showing a placeholder image or an activity indicator would improve the user experience by providing visual feedback. This is particularly important when videos take longer to load due to slow internet connections.
Suggested Implementation:
Add properties or methods to set a placeholder image and a loading indicator.
Use the player's state (e.g., buffering, readyToPlay) to toggle the visibility of the placeholder and loading indicator.
Expected Behavior:
A placeholder image should be visible until the video starts playing.
A loading indicator should be displayed when the video is buffering or loading and hidden once the video is ready to play.
Additionally, the library currently only works with HLS video streams. It would be great if it could be extended to work with MP4 video formats as well. This would allow developers to use a wider range of video sources in their applications.
The text was updated successfully, but these errors were encountered:
Feature Request:
It would be beneficial if the HLS-Video-Reels library could include support for displaying a placeholder image and a loading indicator (e.g., UIActivityIndicatorView) when videos take time to load or buffer.
Use Case:
When loading videos, especially from a remote URL, there can be a delay before the video is ready to play. During this delay, showing a placeholder image or an activity indicator would improve the user experience by providing visual feedback. This is particularly important when videos take longer to load due to slow internet connections.
Suggested Implementation:
Add properties or methods to set a placeholder image and a loading indicator.
Use the player's state (e.g., buffering, readyToPlay) to toggle the visibility of the placeholder and loading indicator.
Expected Behavior:
A placeholder image should be visible until the video starts playing.
A loading indicator should be displayed when the video is buffering or loading and hidden once the video is ready to play.
Additionally, the library currently only works with HLS video streams. It would be great if it could be extended to work with MP4 video formats as well. This would allow developers to use a wider range of video sources in their applications.
The text was updated successfully, but these errors were encountered: