Comments (2)
Hey there @clemator unfortunately it looks like Vue gets confused when there's a read only property with the same name as a corresponding attribute, which is the case for hotkeys
. There may be a cleaner way to do this in Vue 3 (not my core area of expertise), but, as a workaround, you should be able to use a ref
+ onMounted
to explicitly set the attribute for your use case. See my modified version of your example code here:
https://stackblitz.com/edit/vitejs-vite-5wur6c?file=src%2FApp.vue
Let me know if that works out for you, and thanks for the feedback!
from media-chrome.
Hello @cjpillsbury, yes this works as a work around 👍 thank you for looking at it!
from media-chrome.
Related Issues (20)
- Variable for setting transition duration when hiding media controls
- All videos play at once no way to disable autoplay
- [FEATURE] Show currently playing video quality in rendition menu
- timerange thumb and tooltip drift mobile
- Can't import CJS version using Jest
- Module parse error when importing react/media-store in Nextjs (v11) HOT 13
- How can I have different look for initial play?
- How to Play DASH format video in Nextjs
- Media Chrome picks up CSS variables from my globals file HOT 1
- Safari bug: Buttons in control bar don't fade out when moving away from playing video (not always) HOT 2
- CSP violation, requires `style-src: 'unsafe-inline'` HOT 5
- hls-video-element 1.2.0 broken media-tracks import HOT 1
- Poster loading cuts through pitch black instead of given BG Color, and takes longer than expected to download HOT 2
- How to load Youtube video /w "media-chrome/react"? HOT 1
- MediaPosterImage (React) doesn't play video when clicked HOT 1
- media-volume-range doesn't work in iOS Safari HOT 3
- Media-Time-Range scrub and skimming is broken if video is not pre-loaded, happens often on iOS 17.5 HOT 1
- Oddities when captions menu and captions button nested in control HOT 1
- Chapters not always showing on media-time-range element HOT 2
- Customizing playback rate in settings menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media-chrome.