Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jimukgb authored Dec 5, 2024
1 parent c098787 commit cb68989
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
{
if(document.getElementById("player").children[0].nodeName=="TEXTAREA")
{
document.getElementById("player").innerHTML = "<video controls><source src='" + document.getElementById("player").children[0].value + "'></video>";
document.getElementById("player").innerHTML =
"<video controls><source src='" +
document.getElementById("player").children[0].value.trim() +
"'></video>";

document.getElementById("control").innerText = "RESET";
}
else
Expand Down

0 comments on commit cb68989

Please sign in to comment.