Weedpacket wrote:Because you tried to insert the BLOB data into the URL field of an HTML <object> element. Remember, I said that the BLOB data had to be output by a different script (the one that the URL that is supposed to go there links to).
I am slighlty confused becuase I have stored the actual Video itself in the database rather than storing it in Folders and linking to it.
I have changed it to
$row = mysql_fetch_assoc($result);
but still get the same results.
Here is exactly what I have so far:
Above the Header:
<?php
require("require.php");
include 'database.php';
$query = "SELECT * FROM video WHERE videoid = '18'";
$result = mysql_query($query) or die('Error, query failed');
$row = mysql_fetch_assoc($result);
?>
Then in the HTML:
<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="><?php echo $row['content']; ?>">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>
Perhaps this is not possible?
Though I feel we are close.
and