Import MediaElement with <script> tag

Needed because MediaElement doesn't fully support ES6 modules yet
This commit is contained in:
Alex Liebowitz 2017-01-03 18:09:59 -05:00
parent 6936d2f94e
commit a2f7f150db
2 changed files with 2 additions and 2 deletions

2
dist/index.html vendored
View file

@ -20,6 +20,8 @@
</head>
<body>
<div id="canvas"></div>
<script src="./js/mediaelement/jquery.js"></script>
<script src="./js/mediaelement/mediaelement-and-player.min.js"></script>
<script src="./js/bundle.js"></script>
</body>
</html>

View file

@ -1,8 +1,6 @@
import React from 'react';
import lbry from '../lbry.js';
import LoadScreen from '../component/load_screen.js'
import MediaElementPlayer from 'mediaelement';
var WatchPage = React.createClass({
propTypes: {