algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.08k stars 69 forks source link

Add unmute overlay for autoplayed muted videos #102

Open zcesur opened 2 months ago

zcesur commented 2 months ago

When a video is autoplayed in a muted state, we should overlay a large muted icon on the video. Clicking this icon should unmute the video and remove the overlay.

Relevant files:

zcesur commented 2 months ago

/bounty $25

algora-pbc[bot] commented 2 months ago

💎 $25 bounty • Algora

Steps to solve:

  1. Start working: Comment /attempt #102 with your implementation plan
  2. Submit work: Create a pull request including /claim #102 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

❗ Important guidelines:

Thank you for contributing to algora-io/tv!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @Mubashirshariq Sep 19, 2024, 3:34:43 PM WIP
🟢 @GauravBurande Oct 10, 2024, 5:01:31 PM #112
🟢 @Dibou8988 Oct 28, 2024, 11:24:00 AM WIP
🟢 @Rushhaabhhh Nov 24, 2024, 9:53:20 PM WIP
Mubashirshariq commented 2 months ago

@zcesur can I get this assigned,then I will start working on this

Mubashirshariq commented 2 months ago

/attempt #102

Algora profile Completed bounties Tech Active attempts Options
@Mubashirshariq 3 bounties from 3 projects
JavaScript, TypeScript,
HTML
Cancel attempt
GauravBurande commented 1 month ago

/attempt #102

Algora profile Completed bounties Tech Active attempts Options
@GauravBurande 1 bounty from 1 project
JavaScript, TypeScript,
Python & more
Cancel attempt
GauravBurande commented 1 month ago

any feedback on the pull request: #112?

algora-pbc[bot] commented 1 month ago

💡 @GauravBurande submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Dibou8988 commented 4 weeks ago

/attempt #102

shrahul520 commented 4 weeks ago

@zcesur can I get this assigned,then I will start working on this

GauravBurande commented 1 week ago

I've added a pull request #112, any updates?

Rushhaabhhh commented 2 days ago

/attempt #102

Implementation Plan :

  1. State Tracking : Add a muted state in both HeroComponent and PlayerComponent.
  2. Overlay Icon : Show a large muted icon overlay when the video is muted.
  3. Click to Unmute : On click, unmute the video and remove the overlay.
  4. JavaScript Hook : Handle the unmute action in the VideoPlayer hook and communicate the change to the backend.