php - No video with supported format or MIME type found -
my video won't play in browser i've tried different file types , didn't change can enter file uploaded on computer uploaded/video name , show when try off db tags says no video supported format or mime type found , when try video embed tag says plugin needed display content connected db @ top of page didn't include here
<!doctype html> <html lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <title>watch</title> </head> <body> <video controls="controls" width="550" height="315"> <source src="<php $url ?>"> </video> <?php if(isset($_get['id'])) { $id = $_get['id']; $query = mysql_query("select * `videos` id='$id'"); while($row = mysql_fetch_assoc($query)) { $name = $row['name']; $url = $row['url']; } echo "your watching ".$name."<br />"; //echo "<embed src= '$url' width='560' height='315'></embed>"; } else { echo "error!"; } ?> </body> </html>
i replaced commented out embed
tags <video>
tags , worked. fixed not long after posted, i'm leaving answer people have problem.
Comments
Post a Comment