Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiogmuro committed Jul 23, 2024
1 parent 5c78fa2 commit e1c3804
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,8 @@ document.addEventListener('DOMContentLoaded', function () {
console.log('keydown');
restartFadeOutAnimation();
var progressBarDot = document.getElementById('progress-bar-dot');
var consoleInfo = document.getElementById('console-info');
consoleInfo.innerHTML = "EL: ".concat(document.activeElement, "<br/>ID: ").concat(document.activeElement.id, "<br/>EV: ").concat(event.key);
var keyActions = {
'ArrowLeft': document.activeElement === progressBarDot && rewindVideo,
'ArrowRight': document.activeElement === progressBarDot && forwardVideo,
Expand Down
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
Este sitio no es compatible con su navegador. Por favor, use un navegador moderno para acceder al contenido.
</div>
<div id="content">
<small id="console-info" style="float: right;
margin: 10px;
position: fixed;
right: 20px;
top: 10px;
font-size: 0.6em;">Info</small>

<div id="loading" style="display: none;">
<p>Loading...</p>
<div class="loading-dots">
Expand Down
2 changes: 2 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ document.addEventListener('DOMContentLoaded', function () {
restartFadeOutAnimation();

const progressBarDot = document.getElementById('progress-bar-dot');
const consoleInfo = document.getElementById('console-info');
consoleInfo.innerHTML = `EL: ${document.activeElement}<br/>ID: ${document.activeElement.id}<br/>EV: ${event.key}`

const keyActions = {
'ArrowLeft': document.activeElement === progressBarDot && rewindVideo,
Expand Down

0 comments on commit e1c3804

Please sign in to comment.