HTML5 Video

<video controls="controls" poster="URL of poster image">
  <source src="mVideo.mp4" type="video/mp4">
  <source src="mVideo.webm" type="video/webm">
  <source src="mVideo.ogv" type="video/ogg">
    Your browser does not support the HTML5 Video element.
</video>

Here’s is a pretty good online video converter if needed:
https://www.zamzar.com/convert/mp4-to-webm/

What formats to use:

Safari, Chrome and IE9
H264 video codec, AAC or MP3 audio codec and .MP4 as the video container.

other browsers
Theora video codec, Vorbis audio codec and Ogg video as the video container (Ogg-Theora combination).

Thank you for reading!

PHP – Connect to MySQL database

$server = 'localhost';
$un = 'your-database-username';
$db = 'your-database-passname';
$pw = 'your-database-password';
$db_connect = MySQL_connect($server,$un,$pw);
$db_select = mysql_select_db($db,$db_connect);
if (!$db_connect){die('Could not connect: ' . mysql_error());}
else{if (!$db_select){die('Could not select the database: ' . mysql_error());}}

The code above will connect to the database. The code below will get records from the database.

mysql_query() gets all the records from the database and assigns it to the $result variable.

Then, we loop through the $result variable assign each field value in each row to variables, and then print it to the page (echo).

$result = mysql_query("SELECT * FROM database-table-name ORDER BY ID DESC");
while($row = mysql_fetch_array($result))
    {
      $db_ID = $row['ID'];
      $db_FIRST_NAME = $row['FIRST_NAME'];
      $db_LAST_NAME = $row['LAST_NAME'];
      $db_EMAIL = $row['EMAIL'];
      $db_PHONE = $row['PHONE'];
      echo $db_ID.'<br>';
      echo $db_FIRST_NAME.'<br>';
      echo $db_LAST_NAME.'<br>';
      echo '<td>'.$db_EMAIL.'<br>';
      echo '<td>'.$db_PHONE.'<br>';
    }

Thank you for reading!

Reaper Failed to update

Failed to update
Error opening file for writing:
reaper_host32.exe

c:\Program Files\REAPER (x64)\Plugins\reaper_host32.exe

Reaper not recognising 3rd party plugins

I uninstalled the program.

files that did could not delete:

C:\Program Files\REAPER (x64)\reaper.exe
C:\Program Files\REAPER (x64)\Uninstall.exe
C:\Program Files\REAPER (x64)\Plugins\reaper_host32.exe

I tried to reinstall, but recevied the same error.

I then installed Reaper in a new directory – C:\REAPER

This worked and all is good now.

Thank you for reading!