I have a contact form, and when the user clicks submit, there are supposed to be a variety of options to keep the user's interest in the website. One of these options needs to be an embedded YouTube video that displays the latest video. I've tried looking at other API's but I'm not savvy with JavaScript, and it's a bit over my head.
I have a PHP script, and the place the video is located is on the success page. My following PHP for the success page is this:
// Email has sent successfully, echo a success page.
echo "<fieldset>";
echo "<div id='success_page'>";
echo "<h1>Email Sent Successfully.</h1>";
echo "<br /><br /><p>Thank you <strong>$name</strong>, your message has been sent to Gary.</p>";
echo "<img src='assets/twitch.png' /><img src='assets/steam.png' /><img src='assets/youtube.png' /><img src='assets/twitter.png' /><img src='assets/paypal.png' /><img src='assets/liz.png' />";
echo "</div>";
echo "</fieldset>";
} else {
echo 'ERROR!';
}
The video is supposed to go right beneath those images. So how can I do this?
Let me know if you need more code snippets!