33 lines
910 B
HTML
33 lines
910 B
HTML
<!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,
|
|
'video_width': '720px',
|
|
'video_sources': [
|
|
{
|
|
'link': 'http://techslides.com/demos/sample-videos/small.ogv',
|
|
'type': 'video/ogg',
|
|
},
|
|
{
|
|
'link': 'http://techslides.com/demos/sample-videos/small.mp4',
|
|
'type': 'video/mp4',
|
|
}
|
|
]
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |