Import MediaElement with <script> tag
Needed because MediaElement doesn't fully support ES6 modules yet
This commit is contained in:
parent
6936d2f94e
commit
a2f7f150db
2 changed files with 2 additions and 2 deletions
2
dist/index.html
vendored
2
dist/index.html
vendored
|
@ -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>
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue