Documentation
@oplayer/plugins
Airplay

Chromecast

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