<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- Ignite UI for jQuery Required Combined CSS Files -->
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/structure/infragistics.css" rel="stylesheet" />
<script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script>
<!-- Ignite UI for jQuery Required Combined JavaScript Files -->
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.lob.js"></script>
</head>
<body>
<div id="player1"></div>
<script>
var alternate = true;
$(function () {
$("#player1").igVideoPlayer({
sources: [
'https://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/Infragistics_Presentation_lowRes_1.h264.mp4',
'https://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/Infragistics_Presentation_lowRes_1.webmvp8.webm',
'https://dl.infragistics.com/pg/2011-1/web/shared/videoplayer/videos/Infragistics_Presentation_lowRes_1.theora.ogv'
],
width: "100%",
posterUrl: '/images/samples/video-player/ig-pres.png',
fullscreen: false,
browserControls: false,
autohide: true,
autoplay: false,
autohideDelay: 2000,
title: 'Infragistics プレゼンテーション',
banners: [{
imageUrl: '/images/samples/video-player/banner.png',
link: 'http://www.infragistics.com/',
times: [5, 20, 60],
visible: false,
closeBanner: true,
animate: true,
autohide: true,
hidedelay: 10000,
width: "270px",
height: "67px"
}],
bannerVisible: function (sender, eventArgs) {
if (alternate === true) {
eventArgs.bannerElement.css('top', 130);
}
else {
eventArgs.bannerElement.css('top', 0);
}
alternate = !alternate;
},
bannerClick: function (sender, eventArgs) {
$("#player1").igVideoPlayer('pause');
}
});
});
</script>
</body>
</html>