title: Chromecast custom receiver without media
body: <p>I want to show a webpage using Chromecast. Currently the page is very simple (just "Hello World!"), but I am hoping to make it more complex and possibly interactive with a second screen. However, I have found that if I don't create a media manager (<code>new cast.receiver.MediaManager(window.mediaElement)</code>) the session immediately expires on my sender (<code>function sessionUpdateListener(false)</code> is called). The page is still displayed, but I can no longer interact with it, including stopping the app.</p>
  
  <p>I'm wondering if this is by design, a bug, or am I doing something wrong?</p>
  
  <p>Here is the code to my custom receiver...</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Hello World Chromecast App&lt;/title&gt;
      &lt;style type="text/css"&gt;
          *
          {
              color: white;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;Hello World!&lt;/div&gt;
  
      &lt;script src="//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          window.onload = function () {
              window.castReceiverManager = cast.receiver.CastReceiverManager.getInstance();
              window.castReceiverManager.start();
          }
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>