Open izupet opened 3 years ago
Need to follow the instructions more closely.
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
techOrder
:
techOrder: ['chromecast', 'html5']
Also it won't work in jsfiddle's sandbox:
Uncaught DOMException: Failed to construct 'PresentationRequest': The document is sandboxed and lacks the 'allow-presentation' flag.
I added missing script and defined the techOrder
as suggested but I still can't make it work - JSFiddle - I tried this JSFiddle example on real server without success.
copied your fiddle and it works fine on my end. only issue I'm seeing is that after casting, I need to hit play again to start playback on the chromecast.
I try to enable chromecast plugin but seems like it does not work or I am missing something. Here is JSFiddle
It does not work if I load plugin through player options neither if I load it dynamically. But player's activePlugins_ property shows like plugin is successfully registered.