In Browser, selection appears around images

Re: In Browser, selection appears around images

Postby mdelahoz » Thu May 15, 2014 10:21 am

thank you for the solution. cheers!
mdelahoz
 
Posts: 4
Joined: Thu Mar 27, 2014 12:12 pm

Re: In Browser, selection appears around images

Postby SDK_STA » Mon May 19, 2014 10:37 pm

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
Regards,

Smart TV Alliance
SDK_STA
 
Posts: 70
Joined: Fri Aug 09, 2013 4:31 am

Re: In Browser, selection appears around images

Postby martinvc » Mon May 26, 2014 1:43 am

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.
martinvc
 
Posts: 14
Joined: Fri Aug 09, 2013 3:40 am

Re: In Browser, selection appears around images

Postby SDK_STA » Wed May 28, 2014 3:01 am

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.
Regards,

Smart TV Alliance
SDK_STA
 
Posts: 70
Joined: Fri Aug 09, 2013 4:31 am

Previous

Return to App development questions



cron