Fixed broken video loading

Created a simple string encoding function to handle video descriptions
with apostrophes, quotes and line breaks.