flexbox / artaufeminin

🇫🇷 A podcast about women artist through the history
http://artaufeminin.fr
MIT License
4 stars 0 forks source link

Episode player #148

Closed albanprvst1 closed 1 year ago

albanprvst1 commented 1 year ago

Pull Request Title: Add play/pause button to audio player

Description: This Pull Request adds a new feature that displays a custom play/pause button in the audio player on the podcast episode page.

A play/pause button is added to the left side of the audio progress bar. When the button is clicked, the playback state of the audio is toggled, and the button icon changes to reflect the current state (play or pause). The audio can still be controlled using the default audio player controls.

The modified files include:

Episode.tsx: Added the play/pause button and implemented the logic for handling the playback state. audio-player.css: Updated the styles to properly display the play/pause button.

flexbox commented 1 year ago

This pull request doesn't have an origin from master that's why it embeds 10+ more commits

You have many ways to solve this problem but the most simple one is

  1. Checkout on master
  2. Create a new branch and checkout on it
  3. Use git cherry-pick SHA1 3 times to "copy paste the commits from this branch
  4. Close this pr and delete your branch