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> </head>
<body> <body>
<div id="canvas"></div> <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> <script src="./js/bundle.js"></script>
</body> </body>
</html> </html>

View file

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