Agreement a milestone for British television as broadcaster teams up with world’s biggest video platform