Skip to content

Commit

Permalink
Add the necessary connection logic (GoogleChrome#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
avayvod authored and beaufortfrancois committed Mar 31, 2017
1 parent 89cb6c8 commit 090ece2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions presentation-api/receiver/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@
<script type="text/javascript"
src="//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js">
</script>
<script>
// From https://developers.google.com/cast/docs/custom_receiver#initialization--readiness
window.castReceiverManager = cast.receiver.CastReceiverManager.getInstance();
window.castReceiverManager.start();
</script>
</body>
</html>

0 comments on commit 090ece2

Please sign in to comment.