Problem with qualityPickerPlugin initialization
See original GitHub issueWhat is the proper way to initialize a videojs-quality-picker plugin?
If I pass to videojs
plugins: {
qualityPickerPlugin: {}
}
then I get the following error:
Uncaught TypeError: Cannot read property 'on' of undefined
on line tech.on('loadedqualitydata', onQualityData);
(tech is not loaded yet)
If I call player.qualityPickerPlugin({});
after player init, the tech is loaded and loadedqualitydata
event is already fired, so the quality picker won’t appear.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
Quality Selection Plugin - Brightcove Player Documentation
Setting the source in the player configuration and building with single video template will cause the quality menu to not be initialized ...
Read more >How to add quality selector option on videojs - Stack Overflow
The following is my code: I need to add a quality selector in a webpage which uses videojs. I am not sure on...
Read more >Background Initilization failed. Sonarqube server not started
you are using a 3rd party plugin that is not compatible with sonarqube anymore (see github issue). please remove this plugin and start...
Read more >Language Server - Snyk User Docs
The Snyk Language Server scans for vulnerabilities, open source license issues, code quality, and infrastructure misconfigurations and returns results with ...
Read more >Flutter camera plugin: A deep dive with examples
Capture quality selector; Zoom control; Exposure control ... on CameraException catch (e) { print('Error initializing camera: $e'); } ...
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
@ellyjonez
Got this working. My player was initialized elsewhere so I had to do this: