blob: 3a47a7067fcb7a38753ee2a541e629e4250e86ab [file] [log] [blame]
Copyright (c) 2015 The WebM project authors. All Rights Reserved.
Use of this source code is governed by a BSD-style license
that can be found in the LICENSE file in the root of the source
tree. An additional intellectual property rights grant can be found
in the file PATENTS. All contributing project authors may
be found in the AUTHORS file in the root of the source tree.
<script src="dash.webm.debug.js"></script>
function startVideo(mpd) {
var video, context, player;
video = document.querySelector('video');
context = new Webm.di.WebmContext();
player = new MediaPlayer(context);
<body onload="startVideo('/DASH_NAME_HERE.mpd');">
<video controls></video>