Jump to content

video will not display because of "missing plugin" but plugin is not missing?


frijole

Recommended Posts

I am trying to get this script to show back to me what I have entered into the form. In this case it is a video, the embed HTML of a video off youtube actually. And it will not display when i echo it? Could there be something wrong with the way I am formatting it? Any ideas would be greatly appreciated.

 

Here is my code as well:

 

<?php
if(!$_POST){?>

<html>

<table>

<tr>
<td> <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Embed HTML:</td> 
    <td> <textarea rows="5" cols="50" wrap="virtual" name="embedHTML"> Enter Embed HTML Here </textarea></td>
</tr>

<tr>
<td>Description: </td>
<td><textarea rows="5" cols="50" wrap="physical" name="description"> Describe The Video Here </textarea></td>
</tr>

<tr>
<td><input type="submit" value="Add Video!"></form></td>
</tr>

</table>

</html>

<?php
} else {

if (isset($_POST['embedHTML'])||isset($_POST['description']))
{
require_once("dbConnect.php");

$embedHTML = trim(mysql_real_escape_string($_POST['embedHTML']));
$videoDesc = trim(mysql_real_escape_string($_POST['description']));

echo "<blockquote>";
echo $embedHTML;
echo "</blockquote>";
echo "<br />";
echo "<blockquote>";
echo $videoDesc;
echo "</blockquote>";
}

}

?>

 

 

Link to comment
Share on other sites

I think the tags are intact because when I display it to the screen it shows a box that is the correct size that the video would be, only it has the puzzle piece on it which meant that I am missing a plugin. When I try to get the plugin it says it cannot find the missing plugin, so I think something is being modified that makes the browser think it needs some plugin that doesn't exist.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.