Skip to content

feat: add adblocker bypass option, expose player props, and conditional captions menu#1127

Merged
luwes merged 5 commits intomuxinc:main-news-playerfrom
ronalduQualabs:feature/improve-ad-blockers-behavior
May 29, 2025
Merged

feat: add adblocker bypass option, expose player props, and conditional captions menu#1127
luwes merged 5 commits intomuxinc:main-news-playerfrom
ronalduQualabs:feature/improve-ad-blockers-behavior

Conversation

@ronalduQualabs
Copy link
Contributor

This PR introduces the following improvements:
• New allowPlaybackWithAdBlocker prop
Allows the player to continue playback even when an adblocker is detected.
• If false (default): shows a blocking popup when an adblocker is present.
• If true: bypasses the restriction and allows normal playback.
• Exposes underlying player props on MuxNewsPlayer
Enables more granular configuration and control over the embedded player through MuxNewsPlayer.
• Conditional captions menu
Adds a captions menu that appears only when text tracks are available.
• Allows users to disable captions if they prefer not to see them.

@ronalduQualabs ronalduQualabs requested a review from a team as a code owner May 22, 2025 18:51
@vercel
Copy link

vercel bot commented May 22, 2025

@ronalduQualabs is attempting to deploy a commit to the Mux Team on Vercel.

A member of the Team first needs to authorize it.

@snyk-io
Copy link

snyk-io bot commented May 22, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

Copy link
Contributor

@luwes luwes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cjpillsbury cjpillsbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@luwes luwes merged commit 4f1ae3f into muxinc:main-news-player May 29, 2025
5 of 10 checks passed
luwes pushed a commit that referenced this pull request Jun 3, 2025
…al captions menu (#1127)

This PR introduces the following improvements:
	•	New `allowPlaybackWithAdBlocker` prop
Allows the player to continue playback even when an adblocker is
detected.
• If false (default): shows a blocking popup when an adblocker is
present.
	  •	If true: bypasses the restriction and allows normal playback.
	•	Exposes underlying player props on MuxNewsPlayer
Enables more granular configuration and control over the embedded player
through MuxNewsPlayer.
	•	Conditional captions menu
Adds a captions menu that appears only when text tracks are available.
	•	Allows users to disable captions if they prefer not to see them.
luwes pushed a commit that referenced this pull request Jun 12, 2025
…al captions menu (#1127)

This PR introduces the following improvements:
	•	New `allowPlaybackWithAdBlocker` prop
Allows the player to continue playback even when an adblocker is
detected.
• If false (default): shows a blocking popup when an adblocker is
present.
	  •	If true: bypasses the restriction and allows normal playback.
	•	Exposes underlying player props on MuxNewsPlayer
Enables more granular configuration and control over the embedded player
through MuxNewsPlayer.
	•	Conditional captions menu
Adds a captions menu that appears only when text tracks are available.
	•	Allows users to disable captions if they prefer not to see them.
luwes pushed a commit that referenced this pull request Jun 13, 2025
…al captions menu (#1127)

This PR introduces the following improvements:
	•	New `allowPlaybackWithAdBlocker` prop
Allows the player to continue playback even when an adblocker is
detected.
• If false (default): shows a blocking popup when an adblocker is
present.
	  •	If true: bypasses the restriction and allows normal playback.
	•	Exposes underlying player props on MuxNewsPlayer
Enables more granular configuration and control over the embedded player
through MuxNewsPlayer.
	•	Conditional captions menu
Adds a captions menu that appears only when text tracks are available.
	•	Allows users to disable captions if they prefer not to see them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants