fixed distance to video in md file