Pergunta

Eu estou desenvolvendo um aplicativo com SDK 3.1 - HTML / Javascript / Cenários.

Eu tenho um iframe com conteúdo externo, mas não consigo mover o foco do controle remoto da TV para iframe (HTML).

é possível fazer isso ou a API não permite que o foco seja o iframe?

Foi útil?

Solução

I asked directly in the developer forum and corresta answer is that you can not.

I quote:

helpinghand2400@

Hi,

Smart TV supports iFrames partially (We can only load the page , can't navigate it). So, you may be able to show the website in an iFrame but you'll not be able to use most of the functionality

Thank you very much anyway.

Outras dicas

Did you try manually set focus on that iframe? myiframe.focus() and than try to move with remote inside it?

Btw, as far as I experienced in previous applications almost in all cases you need to make your own focus handling.

Do not use iframe on your Samsung Smart Tv App. It will be immediately rejected by Samsung testers. Their excuse is that iframes have serious problems on many devices.

There is no real solution for your question. Even Samsung is rejecting apps using iframe content. They have rejected one of my applications because of iframe.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top