show cast button only when supported. closes #1116