144 lines
5.3 KiB
HTML
Executable file
144 lines
5.3 KiB
HTML
Executable file
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>
|
|
SpeedTrans
|
|
</title>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="player.js"></script>
|
|
<!-- <script type="text/javascript" src="jquery-ui.js"></script> -->
|
|
<script type="text/javascript" src="oxjs/build/js/ox.js"></script>
|
|
<script type="text/javascript" src="oxjs/build/js/ox.ui.js"></script>
|
|
|
|
<script type="text/javascript" src="staticfuncs.js"></script>
|
|
<script type="text/javascript" src="classes.js"></script>
|
|
<script type="text/javascript" src="app.js"></script>
|
|
<script type="text/javascript" src="ox.extra.js"></script>
|
|
<script type="text/javascript" src="oshash.js"></script>
|
|
<!-- <script type="text/javascript" src="firefogg.extra.js"></script> -->
|
|
<!-- <script type="text/javascript" src="http://pad.ma/user.js"></script> -->
|
|
<link rel="stylesheet" href="styles.css" />
|
|
<link rel="stylesheet" href="oxjs/build/css/ox.ui.css" />
|
|
|
|
</head>
|
|
<body>
|
|
<!-- JS Templates -->
|
|
<script type="text/html" id="dialog_shortcuts">
|
|
<b>Esc</b>: Pause / Unpause <br />
|
|
<b>Insert / Tab</b>: Insert time-code<br />
|
|
<b>PageUp</b> / <b>PageDown</b>: Volume Up / Down<br />
|
|
<b>Double-click on time-code in textarea</b>: Seek video to time-code. <br />
|
|
</script>
|
|
<script type="text/html" id="dialog_encoding">
|
|
<div>
|
|
Encoding Video:
|
|
</div>
|
|
<div id="progressDiv">
|
|
<div id="progressBar"></div>
|
|
</div>
|
|
<div id="encodingStatus">
|
|
<div class="filename">
|
|
<%= filename %>
|
|
</div>
|
|
<div class="progress">
|
|
Encoded <span id="encodedPercent"></span>%
|
|
</div>
|
|
<div class="preview">
|
|
<video id="previewVideo" src="" style="display: none;"></video>
|
|
<canvas id="previewCanvas"></canvas>
|
|
</div>
|
|
</div>
|
|
|
|
</script>
|
|
<script type="text/html" id="dialog_load_cuts">
|
|
<div class="dialogWrap" style="padding-top: 24px;">
|
|
Please insert the url of this video on any pan.do/ra site:<br>
|
|
i.e. <b>https://pad.ma/DMG</b><br>
|
|
<div style="padding: 4px;padding-top: 24px">
|
|
<input type="text" value="" style="width:100%" />
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/html" id="dialog_about">
|
|
This is <a href="http://wiki.pad.ma/wiki/SpeedTrans" target="_new">Speedtrans</a>.
|
|
A transcribing and subtitling tool for Firefox. It is used for transcribing videos on <a href="http://pad.ma/" target="_new">Pad.ma</a>
|
|
</script>
|
|
<script type="text/html" id="dialog_load_video">
|
|
Your most recent video is: <br />
|
|
<b><%= recentVideo %></b><br />
|
|
</script>
|
|
<script type="text/html" id="dialog_encode_confirm">
|
|
<div class="dialogWrap">
|
|
You have chosen <%= filename %>. It shall need to be converted to the Ogg Theora format.<br />
|
|
Click 'Continue' to continue, else click 'Cancel'.
|
|
<span class="italic">Note: Encoding process may take a long time depending on the size of the video. Might be a good time to make a coffee, or go for a walk.</span>
|
|
</div>
|
|
|
|
</script>
|
|
<script type="text/html" id="dialog_preferences">
|
|
<div class="dialogWrap">
|
|
<b>Font-Size</b>:
|
|
<select id="pref_fontSize" class="pref_select" data-pref="fontSize">
|
|
<option value="10">Tiny</option>
|
|
<option value="12">Small</option>
|
|
<option value="13">Medium</option>
|
|
<option value="14">Large</option>
|
|
<option value="16">Very Large</option>
|
|
<option value="24">Huge</option>
|
|
</select> <br />
|
|
<b>Theme</b>:
|
|
<select id="pref_theme" class="pref_select" data-pref="theme">
|
|
<option value="classic">Classic</option>
|
|
<option value="modern">Modern</option>
|
|
</select> <br />
|
|
<b>Text Direction</b>:
|
|
<select id="pref_direction" class="pref_select" data-pref="direction">
|
|
<option value="ltr">Left to Right</option>
|
|
<option value="rtl">Right to Left</option>
|
|
</select>
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type="text/html" id="tmpl_loadError">
|
|
<div class="error_msg">
|
|
Sorry, there was a problem loading the srt file or the srt file was blank: <br />
|
|
<b><%= filename %></b><br /><br />
|
|
Please inform b@pad.ma of the error, and if there is any text in the box below, please include it in the email, as it may help solving the problem. <br />
|
|
<textarea><%= txt %></textarea><br />
|
|
Click Close to attempt to recover text from local storage. <br />
|
|
</div>
|
|
|
|
</script>
|
|
<div id="wrapper">
|
|
<div id="videoWrapper">
|
|
<video id="video" src="" controls="true">
|
|
Sorry you need <a href="http://getfirefox.com/">Firefox 3.5 or later</a> for this to work.
|
|
</video>
|
|
<div id="filepath"></div>
|
|
<div id="timeCode">0:00:00.000</div>
|
|
<div id="helpWrapper">
|
|
<b>Ctrl</b> / <b>Alt</b>: Seek back / forward <input id="seekTime" value="1" /> seconds.<br />
|
|
<b>Esc</b>: Pause / Unpause <br />
|
|
<b>Insert / Tab</b>: Insert time-code<br />
|
|
<b>PageUp</b> / <b>PageDown</b>: Volume Up / Down<br />
|
|
<b>Double-click on time-code in textarea</b>: Seek video to time-code. <br />
|
|
</div>
|
|
|
|
</div>
|
|
<div id="txtWrapper">
|
|
<textarea id="txt" class="OxThemeClassic"></textarea><br /> <br />
|
|
<div id="additionalFeatures">
|
|
<div id="addTimeWrap">
|
|
Time to add: <input id="timeToAdd" /><br />
|
|
Start no: <input id="startNo" /> <button id="addTime">Add</button><br />
|
|
<textarea id="addTimeResult"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|