The TV won’t open a video
Anything the TV can’t play as is (MKV, AVI, FLV, Xvid, DivX or MPEG-2 video, among others), your phone converts for it while you watch; if you don’t want that, choose “Never” in Settings › TV › “Convert video for the TV”. Keep Whatplay open and your phone near the router while casting.
With WebCast you can lock your phone: Settings › TV › “With the phone locked” explains how to set Whatplay’s battery to “Unrestricted” so the TV keeps going.
With Chromecast, if something can’t be played, the TV says so on the Whatplay screen and you stay connected: choose another channel on your phone.