Custom <video> ref
See original GitHub issueHello!
I want to use ref
callback of <video>
element to do some style calculations as soon as possible.
There is a way to pass custom attributes to FilePlayer
using config.file.attributes
.
I’ve tried to pass the ref
callback there, but FilePlayer
fails in this case due to overriding the original ref
here:
which leads to lots of errors because the plugin uses this.player
in many places.
Could you extend the logic to allow passing a custom ref?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Custom <video> ref · Issue #537 · cookpete/react-player - GitHub
Hello! I want to use ref callback of <video> element to do some style calculations as soon as possible. There is a way...
Read more >Video player styling basics - Developer guides - MDN Web Docs
This follow-up article looks at how to style this custom player, including making it responsive. The example in action. A video player with...
Read more >Custom Video Editing - Etsy
Check out our custom video editing selection for the very best in unique or custom, handmade pieces from our digital shops.
Read more >VideoApp Interface Reference | Alexa Skills Kit
In the developer console, navigate to Custom > Interfaces. Enable the Video App option and then click Save Interfaces. Be sure to click...
Read more >Custom Audio Video Installation
Custom Audio Video Installation - Reference Audio Video. Remote Car Starts, Car Audio Video, Marine Audio, Lighting And More. Call (406) 452-0090 -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @max-koa. It was a long ago and I don’t have that implementation already. I switched to using video-js as I needed to work only with
<video>
, video-js provides lots of flexibility for this purpose.hi @cookpete I did try the example, but it was not working (not sure why). I will try getInternalPlayer if needed, but right now the feature has been paused.