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>";
}

}

?>

 

 

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.