We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f3e3e commit 61e9adcCopy full SHA for 61e9adc
.changeset/chilled-bottles-hug.md
@@ -0,0 +1,5 @@
1
+---
2
+'@primer/react-brand': patch
3
4
+
5
+Minor internal refactoring to `VideoPlayer` component
packages/react/src/VideoPlayer/VideoPlayer.tsx
@@ -70,7 +70,7 @@ const Root = ({
70
return (
71
<div className={styles.VideoPlayer__container} ref={fullscreenRef}>
72
<div className={styles.VideoPlayer__overlayContainer}>
73
- <video ref={ref} title={title} controls={false} className={clsx(styles.VideoPlayer, className)} {...rest}>
+ <video title={title} controls={false} className={clsx(styles.VideoPlayer, className)} {...rest} ref={ref}>
74
{children}
75
<track kind="captions" />
76
</video>
0 commit comments