added support for .ts, .webm and copies the title metatag or filename if title is not present