just gray out the Afspilningshastighed "div" and write the text:
"Afspilningshastighed er ikke understøttet på denne platform"
instead of hiding Afspilningshastighed "div" - when this is not supported.
look at
settings: (type, match, ui, page, event) ->
params = LYT.router.getParams(match[1])
promise = LYT.control.ensureLogOn params
promise.fail -> log.error 'Control: settings: unable to log in'
promise.done ->
if type is 'pagebeforeshow'
promise = LYT.player.isPlayBackRateSupported()
promise.done (result) ->
if not result
LYT.render.hideplayBackRate()
promise.fail () ->
LYT.render.hideplayBackRate()
just gray out the Afspilningshastighed "div" and write the text: "Afspilningshastighed er ikke understøttet på denne platform" instead of hiding Afspilningshastighed "div" - when this is not supported.
look at
settings: (type, match, ui, page, event) -> params = LYT.router.getParams(match[1]) promise = LYT.control.ensureLogOn params promise.fail -> log.error 'Control: settings: unable to log in' promise.done -> if type is 'pagebeforeshow' promise = LYT.player.isPlayBackRateSupported() promise.done (result) -> if not result LYT.render.hideplayBackRate() promise.fail () -> LYT.render.hideplayBackRate()
in control.coffee line 389.......