Updated repository via git push

This commit is contained in:
Anirudh Sevugan 2025-05-10 18:42:24 -05:00
parent 32f57cb8b5
commit 6fb4cdbf2c
5 changed files with 5192 additions and 6 deletions

View File

@ -83,6 +83,8 @@
<input type="checkbox" id="loopCheckbox"><br> <input type="checkbox" id="loopCheckbox"><br>
<label for="controlsCheckbox">Controls:</label> <label for="controlsCheckbox">Controls:</label>
<input type="checkbox" id="controlsCheckbox" checked><br> <input type="checkbox" id="controlsCheckbox" checked><br>
<label for="controlsCheckbox">Vivid Colors:</label>
<input type="checkbox" id="colorsCheckbox"><br>
<p class="settings-info"><em>Settings apply for this session only.</em></p> <p class="settings-info"><em>Settings apply for this session only.</em></p>
<button id="saveSettingsBtn">Save Settings</button> <button id="saveSettingsBtn">Save Settings</button>
</div> </div>

5185
simpliplay/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@
"icon": "icon.ico" "icon": "icon.ico"
}, },
"linux": { "linux": {
"target": "AppImage", "target": "flatpak",
"icon": "icon.png", "icon": "icon.png",
"executableName": "SimpliPlay", "executableName": "SimpliPlay",
"synopsis": "The mission to make media playback accessible anywhere, anytime." "synopsis": "The mission to make media playback accessible anywhere, anytime."

View File

@ -219,6 +219,7 @@ submitUrlBtn.addEventListener('click', () => {
// Create a new Object URL for the selected file // Create a new Object URL for the selected file
const fileURL = URL.createObjectURL(file); const fileURL = URL.createObjectURL(file);
mediaPlayer.src = fileURL; mediaPlayer.src = fileURL;
mediaPlayer.load();
if (autoplayCheckbox.checked) { if (autoplayCheckbox.checked) {
mediaPlayer.play(); mediaPlayer.play();
} }

View File

@ -131,7 +131,8 @@ h1 {
cursor: pointer; cursor: pointer;
} }
video, iframe { video {
/* To make color pop: filter: contrast(1.1) saturate(1.2);*/
display: flex; display: flex;
margin: 20px auto; margin: 20px auto;
background: black; background: black;
@ -141,9 +142,6 @@ h1 {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
} }
iframe {
border: none;
}
.gap-box { .gap-box {
height: 20px; height: 20px;
@ -197,4 +195,4 @@ h1 {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
z-index: 10000; z-index: 10000;
text-align: center; text-align: center;
} }