Documentation
@oplayer/plugins
Chromecast

Chromecast

npm i @oplayer/plugins
import { Chromecast } from '@oplayer/plugins'
 
OPlayer.make('#oplayer').use([new Chromecast()]).create()
<script src="https://cdn.jsdelivr.net/npm/@oplayer/plugins@latest/dist/chromecast.min.js"></script>
 
<script>
  OPlayer.make('#oplayer').use([new OChromecast()]).create()
</script>