Problemi danno fuoco a un iframe su Smart TV
-
10-12-2019 - |
Domanda
Sto sviluppando un'applicazione con SDK 3.1 - HTML / JavaScript / Scene.
Ho un Iframe con contenuti esterni, ma non posso spostare il telecomando del televisore Focus su Iframe (HTML).
è possibile farlo o l'API non consente di dare fuoco a un iframe?
Soluzione
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.
Altri suggerimenti
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.