videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.85k stars 7.43k forks source link

Add Plugins in VideoJS using React #6995

Open theathleticnerd opened 3 years ago

theathleticnerd commented 3 years ago

I'm trying to disable right-click option and enable Chromecast in my webpage which uses video.js.

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

gkatsev commented 3 years ago

You should be able to disable right click by listening to the contextmenu event and calling preventDefault() in there. For chromecast, I'd direct you to https://github.com/silvermine/videojs-chromecast as we don't support chromecast ourselves.

theathleticnerd commented 3 years ago

Can you tell me how to add a quality selector in React JS?

You should be able to disable right click by listening to the contextmenu event and calling preventDefault() in there. For chromecast, I'd direct you to https://github.com/silvermine/videojs-chromecast as we don't support chromecast ourselves.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.