A teenager stopped to check his phone in shocking CCTV footage released by Network Rail to highlight the danger of pedestrian distractions at level crossings.