Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Graywolf9 and github-actions[bot] authored Aug 17, 2023
1 parent bc9bb9b commit 2619cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/es/web/api/mediadevices/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ navigator.mediaDevices
.catch((error) => {
if (error.name === "OverconstrainedError") {
console.error(
`La resolución ${constraints.video.width.exact}x${constraints.video.height.exact} px no es compatible con su dispositivo.`
`La resolución ${constraints.video.width.exact}x${constraints.video.height.exact} px no es compatible con su dispositivo.`,
);
} else if (error.name === "NotAllowedError") {
console.error(
"Debe otorgar permiso a esta página para acceder a su cámara y micrófono."
"Debe otorgar permiso a esta página para acceder a su cámara y micrófono.",
);
} else {
console.error(`getUserMedia error: ${error.name}`, error);
Expand Down

0 comments on commit 2619cde

Please sign in to comment.