You'll need screen recording software, since Line Rider has no export function of its own. CamStudio is a free option that does the job well: set your capture region, record while the track plays, and save the output.
A couple of practical tips — record at a frame rate your machine can sustain, or the playback will stutter, and hide anything you don't want in frame before you start. The resulting file can then be trimmed and uploaded wherever you like.