Skip to content

[3.0 external video share] remove deprecated parameters - #24903

Merged
antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-56
Apr 24, 2026
Merged

antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-56

Conversation

@hiroshisuga

@hiroshisuga hiroshisuga commented Apr 12, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Removes deprecated parameters.

Motivation

Trying to fix #24901 (which failed so far), I realised some parameters for Youtube API are not working anymore.

More

According to https://developers.google.com/youtube/player_parameters ,

@coderabbitai

coderabbitai Bot commented Apr 12, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

Removed three YouTube-specific playerVars (modestbranding, autohide, ecver) from videoPlayConfig.youtube.playerVars passed to react-player. Kept autoplay, rel, and controls, and continued to set cc_lang_pref from the document <html lang>. No other control flow or configuration structure was changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR removes deprecated parameters but does not address the main objective of #24901: restoring picture-in-picture via right-click. The PR must also implement the fix to restore PiP functionality (e.g., adding 'pointer-events: none' to #player-controls or similar solution) to fully resolve #24901.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removing deprecated YouTube parameters from the external video player configuration.
Out of Scope Changes check ✅ Passed The parameter removal is in scope for the linked issues, but only addresses deprecation cleanup without tackling the primary objective of restoring PiP functionality.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description clearly explains the purpose of removing deprecated YouTube API parameters and provides justification with references to Google's documentation and observed behavior.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes deprecated YouTube embed parameters from the external video share player configuration, aligning the client with current YouTube Player API behavior.

Changes:

  • Removed modestbranding, autohide, and ecver from the YouTube playerVars config used by the external video player.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tainan404 Tainan404 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

reviewed and tested the code

@antobinary
antobinary merged commit 8ffb034 into bigbluebutton:v3.0.x-develop Apr 24, 2026
39 checks passed
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.0 external video share] Re-enabling picture in picture by right clicking

5 participants