I've been trying to create an application where an input through a form would change the src of an video.
Here is the code
<!DOCTYPE html> <html lang="en"> <head>
<video width="640" height="360" src=<?php echo $_POST["test"]; ?> controls autoplay> <p> Try this page in Safari 4! Or you can <a href="http://www.youtube.com/demo/google_main.mp4">download the video</a> instead.</p> </video>