Skip to content

Update codec preference handling for video#44581

Open
celalergun wants to merge 1 commit into
mdn:mainfrom
celalergun:patch-1
Open

Update codec preference handling for video#44581
celalergun wants to merge 1 commit into
mdn:mainfrom
celalergun:patch-1

Conversation

@celalergun

Copy link
Copy Markdown

Code calling preferCodec in changeVideoCodec has missing parameters

There is a sample code in the documentation that calls preferCodec method with one parameter but the real method expects two parameters.

Description

I added the required parameter

Motivation

I was executing the code in my head but it did not feel right. I checked the rest of the documentation and noticed the mistake.

Additional details

None

Related issues and pull requests

None

Code calling preferCodec in changeVideoCodec has missing parameters
@celalergun celalergun requested a review from a team as a code owner June 26, 2026 07:35
@celalergun celalergun requested review from hamishwillee and removed request for a team June 26, 2026 07:35
@github-actions github-actions Bot added Content:Media Media docs size/xs [PR only] 0-5 LoC changed labels Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Media Media docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants