forked from Open-CT/openct-tasks
69 lines
2.1 KiB
HTML
69 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>taskVideo</title>
|
|
<script>
|
|
window.stringsLanguage = 'en';
|
|
</script>
|
|
<script class="remove" type="text/javascript" src="../../../_common/modules/pemFioi/importModules-1.4-mobileFirst.js" id="import-modules"></script>
|
|
<script class="remove" type="text/javascript">
|
|
var modulesPath = '../../../_common/modules';
|
|
importModules([
|
|
'jquery-1.7.1', 'JSON-js', 'raphael-2.2.1', 'jschannel',
|
|
'platform-pr', 'installationAPI.01', 'miniPlatform',
|
|
'taskStyles-mobileFirst',
|
|
'taskVideo', 'taskVideoPlayer', 'taskVideo_css']);
|
|
</script>
|
|
<script class="remove" type="text/javascript">
|
|
var json = {
|
|
"id": "taskVideo",
|
|
"language": "en",
|
|
"version": "en.01",
|
|
"authors": "dev",
|
|
"translators": [],
|
|
"license": "",
|
|
"taskPathPrefix": "",
|
|
"modulesPathPrefix": "",
|
|
"browserSupport": [],
|
|
"fullFeedback": true,
|
|
"acceptedAnswers": [],
|
|
"usesRandomSeed": false
|
|
};
|
|
</script>
|
|
<script type="text/javascript">
|
|
var videoData = {
|
|
video_id: "XN5NXT0g1lg",
|
|
sections: [
|
|
{
|
|
title: 'Section 1',
|
|
description: 'Description text 1. Text {goto 3|00:03} text {00:5} text {goto 6|6} text {7}',
|
|
parts: 4,
|
|
//start: 0,
|
|
end: '00:7.5'
|
|
},
|
|
{
|
|
title: 'Section 2',
|
|
//description: 'Description text 2',
|
|
//start: 7.5,
|
|
//end: 15
|
|
}
|
|
],
|
|
show_viewed: true,
|
|
youtube: {
|
|
rel: 0,
|
|
autoplay: 0
|
|
}
|
|
};
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="task">
|
|
<h1>taskVideo demo</h1>
|
|
<div>Some text before the video area.</div>
|
|
<div id="taskContent">Loading...</div>
|
|
<div>Some text after the video area.</div>
|
|
</div>
|
|
</body>
|
|
</html>
|