jwplayer / jw-showcase-appletv

An Apple TV app builder written in TVJS with support for videos streamed out of the JW Player platform
Other
87 stars 44 forks source link

Show long descriptions #32

Closed pablos1 closed 8 years ago

pablos1 commented 8 years ago

Currently, long descriptions are truncated, but the allowzoom attribute on the <description> tag allows the user to click on the description, which doesn't do anything.

This will show a simple alert modal containing the title of the item along with the full description text.

RikHeijdens commented 8 years ago

In order to handle long descriptions correctly I think we should use descriptiveAlertTemplate instead of alertTemplate. Judging from Apple's documentation it seems like it allows longer descriptions than alertTemplate.

pablos1 commented 8 years ago

@RikHeijdens makes sense. I updated the ItemDetail page to use descriptiveAlertTemplate.