2018-02-26 17:10:19 -05:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>Metaunix Player Test</title>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
|
|
<script src="build/js/player.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- test video player wrapper -->
|
|
|
|
<div class="mup-player"></div>
|
|
|
|
|
|
|
|
<!-- call the player script -->
|
|
|
|
<script>
|
|
|
|
$('.mup-player').MUPlayer({
|
|
|
|
'use_default_css': true,
|
2018-02-26 17:37:46 -05:00
|
|
|
'video_width': '720px',
|
2018-02-26 17:10:19 -05:00
|
|
|
'video_sources': [
|
|
|
|
{
|
|
|
|
'link': 'http://techslides.com/demos/sample-videos/small.ogv',
|
|
|
|
'type': 'video/ogg',
|
2018-02-26 17:38:48 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'link': 'http://techslides.com/demos/sample-videos/small.mp4',
|
|
|
|
'type': 'video/mp4',
|
2018-02-26 17:10:19 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|