I've seen this repeated a few times.  Maybe lines 265 to 268 could be put into a helper method, like VideoHandlerHelper::fileFromTitle( $title ) ?  I don't think this needs to hold up this code review though.