Add UI support for live streaming

also fixes #495
Merge pull request #508 from flowplayer/bug/495

Add UI support for live streaming