Problems giving focus to an iframe on smart tv

拥有回忆 提交于 2019-12-11 06:37:40

问题


I am developing an application with sdk 3.1 - html/javascript/scenes.

i have an iframe with external content, but I can not move the tv's remote control focus to iframe (html).

is possible to do this or the API does not permit give the focus to an Iframe?


回答1:


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.




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/9640265/problems-giving-focus-to-an-iframe-on-smart-tv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!