Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[podcast] Fix Duration and Play Button #37

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

ricoberger
Copy link
Member

This commit fixes two bugs within the Podcast player.

It could happen that the play time and remaining time was not shown correctly in the player. This mainly occured in Safari and is now fixed by not using a regular expression to show the time, but instead we have added a new "_printDuration" function which handles the formatting of the durations.

Not only, but mainly on Safari it could also happen, that once a Podcast was started and then paused, the loading spinner was displayed and a user could not continue with the Podcast. This is now fixed, by removing the spinner and only show the play, pause or replay button. As loading indication we are now only using the seek bar.

Last but not least this commit also improves the readability of the code, for parsing the icon of a Podcast feed.

This commit fixes two bugs within the Podcast player.

It could happen that the play time and remaining time was not shown
correctly in the player. This mainly occured in Safari and is now fixed
by not using a regular expression to show the time, but instead we have
added a new "_printDuration" function which handles the formatting of
the durations.

Not only, but mainly on Safari it could also happen, that once a Podcast
was started and then paused, the loading spinner was displayed and a
user could not continue with the Podcast. This is now fixed, by removing
the spinner and only show the play, pause or replay button. As loading
indication we are now only using the seek bar.

Last but not least this commit also improves the readability of the
code, for parsing the icon of a Podcast feed.
@ricoberger ricoberger added the changelog: fixed Something which wasn't working is fixed label Oct 18, 2023
@ricoberger ricoberger added this to the v1.1.1 milestone Oct 18, 2023
@ricoberger ricoberger self-assigned this Oct 18, 2023
@ricoberger ricoberger merged commit 37b44da into main Oct 18, 2023
6 checks passed
@ricoberger ricoberger deleted the podcast-fix-duration-and-play-button branch October 18, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fixed Something which wasn't working is fixed
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant