metaunix-player-js/index.html

34 lines
932 B
HTML
Raw Normal View History

<!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': '1280px',
'video_sources': [
{
'link': 'https://filesamples.com/samples/video/ogv/sample_1280x720.ogv',
'type': 'video/ogg',
},
{
'link': 'https://filesamples.com/samples/video/mp4/sample_1280x720.mp4',
'type': 'video/mp4',
}
]
});
</script>
</body>
</html>