Page 2 of 2
Re: In Browser, selection appears around images

Posted:
Thu May 15, 2014 10:21 am
by mdelahoz
thank you for the solution. cheers!
Re: In Browser, selection appears around images

Posted:
Mon May 19, 2014 10:37 pm
by SDK_STA
Hi,
please note that this problem occurs when testing pages via the "open internet" browser on the TV. In an actual production service (launched via the portal), your app will not display any highlight and the work around is not required.
Kind regards,
Smart TV Alliance
Re: In Browser, selection appears around images

Posted:
Mon May 26, 2014 1:43 am
by martinvc
You can add a the header
Content-type: application/ce-html+xml;charset="UTF-8" or
Content-type: application/ce-html+xml;charset="UTF-8";supportspointer=true (if your app supports a remote pointer)
to your index page on server side. Then your app will be seen as an app, even in the browser. But of course you have to be compatible with XHTML to make that work. Especially older Philips TVs are very picky regarding XHTML.
Re: In Browser, selection appears around images

Posted:
Wed May 28, 2014 3:01 am
by SDK_STA
Hi,
thanks for your input Martin, please note that adding this header to a Smart TV Alliance application is not required and indeed causes incompatibility issues.
These type of workarounds should *not* be used for any production ready application, as it makes the application incompatible with the Smart TV Alliance specification.