Skip to content

Conversation

bp0
Copy link
Contributor

@bp0 bp0 commented Aug 17, 2025

Add disablepictureinpicture param to optionally hide the PiP button that floats over video

ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video#disablepictureinpicture

Note that Firefox hides the floating button, but PiP can still be chosen from the context menu, while Chrome disables the floating button and the context menu item.

I did not fully build mediamtx and test this. Only tested using web developer tools to change the running page.

Copy link

codecov bot commented Aug 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.22%. Comparing base (9ab48ea) to head (d0c4200).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4883      +/-   ##
==========================================
- Coverage   55.23%   55.22%   -0.02%     
==========================================
  Files         216      216              
  Lines       22824    22824              
==========================================
- Hits        12607    12604       -3     
- Misses       9271     9273       +2     
- Partials      946      947       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aler9 aler9 merged commit fa6a20a into bluenviron:main Aug 17, 2025
7 of 8 checks passed
@aler9
Copy link
Member

aler9 commented Aug 17, 2025

merged, thanks!

Copy link
Contributor

This issue is mentioned in release v1.15.0 🚀
Check out the entire changelog by clicking here

@fxzzi
Copy link

fxzzi commented Sep 20, 2025

how are we actually supposed to configure these options within mediamtx? I want to have the stream unmuted by default and I see that's an option here

@bp0
Copy link
Contributor Author

bp0 commented Sep 20, 2025

how are we actually supposed to configure these options within mediamtx? I want to have the stream unmuted by default and I see that's an option here

query string; example:
http://mediamtx.local:8888/stream/?muted=no

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