forked from looma/Looma-II
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlooma-edit-video.php
executable file
·97 lines (76 loc) · 3.92 KB
/
looma-edit-video.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
//function isLoggedIn() { return (isset($_COOKIE['login']) ? $_COOKIE['login'] : null);};
require_once('includes/looma-isloggedin.php');
// NOTE: this code sending "header" must be before ANY data is sent to client=side
$loggedin = loggedIn(); if (!$loggedin) header('Location: looma-login.php');
error_log("Starting Dictionary Edit session. logged in as: " . $loggedin);
?>
<!doctype html>
<?php $page_title = 'Looma - Video Editor';
include ('includes/header.php');
?>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/looma-filecommands.css">
<link rel="stylesheet" type="text/css" href="css/looma-media-controls.css">
<link rel="stylesheet" type="text/css" href="css/looma-edit-video.css">
<link rel="stylesheet" href="css/looma-text-display.css">
</head>
<body>
<div id = "main-container">
<div id="header" class="inner-div">
<span id="title">Editing: </span> <span class="filename"><none></span>
<img src="images/logos/LoomaLogoTransparent.png" height="100%"/>
<span>Looma Video Editor</span>
</div>
<div id="search-bar" class="inner-div">
<?php require_once ('includes/looma-search.php');?>
</div>
<div id="outerResultsDiv">
<div id="innerResultsMenu"></div>
<div id="results-div"></div>
<div id="innerResultsDiv">
<span class="hint">Search Results</span>
</div>
</div>
<div id= "previewpanel">
<div id="video-area">
<div id="video-screen"></div>
<?php include ("includes/looma-media-controls.php");?>
<div id="adjust" draggable="true">
<button class="adjust" id="frameMinus5">-5</button> <button class="adjust" id="frameMinus1">-1</button>
<span>frame </span>
<button class="adjust" id="frameAdd1">+1</button> <button class="adjust" id="frameAdd5">+5</button>
<br>
<button class="adjust" id="secMinus5">-5</button> <button class="adjust" id="secMinus1">-1</button>
<span>second</span>
<button class="adjust" id="secAdd1">+1</button> <button class="adjust" id="secAdd5">+5</button>
</div>
</div>
<div id= "preview-area">
<div id="preview-screen"></div>
</div>
<button id = "clearPreview" type = "button">Clear Preview</button>
</div>
<div id="timeline">
<div id="timelineDisplay"></div>
</div>
</div>
<div id="text-editor">
<iframe id="textframe" src="./looma-text-frame.php" allowTransparency="true"> </iframe>
</div>
<img id="padlock" draggable="false" src=" <?php echo loggedIn() ? "images/padlock-open.png" : "images/padlock-closed.png"; ?>" >
<p id="login-id" ><?php if (loggedIn()) echo "You are logged in as '" . $_COOKIE['login'] ."'" ?></p>
<button class='control-button' id='dismiss' ></button>
<?php
include ('includes/js-includes.php');
include ('includes/looma-filecommands.php');
?>
<script src="js/jquery-ui.min.js"> </script>
<script src="js/jquery.hotkeys.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/looma-search.js"></script>
<script src="js/looma-media-controls.js"></script>
<script src="js/looma-edit-video.js"></script>
</body>
</html>