My video won't play in my browser I've tried different file types and it didn't change anything I can enter where the file is uploaded on my computer like uploaded/video name and it will show but when I try to get it off my db with the tags it says No video with supported format or MIME type found and when I try to get the video with the embed tag it says a plugin is needed to display this content I am connected to my db at the top of this page too I just didn't include that here
Watchif(isset($_GET['id']))
{
$id = $_GET['id'];
$query = mysql_query("SELECT * FROM `videos` WHERE id='$id'");
while($row = mysql_fetch_assoc($query))
{
$name = $row['name'];
$url = $row['url'];
}
echo "Your are watching ".$name."
";
//echo "";
}
else
{
echo "Error!";
}
?>