title: play video in flutter web
body: <p>I am trying to create a web app using recently launched flutter_web, but facing issues in playing a video inside my app. Can someone guide me how to play a video in flutter_web.</p>
  
  <ol>
  <li>I tried to create a web plugin for flutter web, but as the official docs of flutter_web we can't create a plugin for web.</li>
  <li>I tried to add a video and iframe tag in index.html but no luck.</li>
  <li>I tried to use VideoElement provided by dart:html but not sure how to use it.</li>
  </ol>
  
  <pre><code>prefix1.VideoElement element = prefix1.VideoElement();
      element.height = 200;
      element.width = 200;
      element.appendHtml("""&lt;video width="400" controls&gt;
    &lt;source src="mov_bbb.mp4" type="video/mp4"&gt;
    &lt;source src="mov_bbb.ogg" type="video/ogg"&gt;
    Your browser does not support HTML5 video.
  &lt;/video&gt;
      """);
      element.querySelector('#video');
      element.play();
  </code></pre>