0

Enable scrolling of HTML5 content on XD1032

Can anyone help me to enable scrolling on a XD1032 player? By defauld scrolling is disabled and i only found a note how to enable scrolling with a brightscript command. But i use brightsign author and don't know, how brightscript works. I hope there is a option to activate scrolling without using brightscript!?

The command for enabling with brightscript you'll find on page number 8 (site 11) of this documentation: http://brightsignbiz.s3.amazonaws.com/documents/HTML5%20Developer%27s%20Guide%20%286.1%29.pdf

6 comments

  • 0
    Avatar
    Lyndon

    DO you mean the scrollbars are missing on your published html pages? 

  • 0
    Avatar
    Lyndon

    Please retest with beta firmware 6.1.37. On my xd2, using that firmware, I can scroll without any problems. 

  • 1
    Avatar
    Zack

    Seems like scrollbars is disabled  by default in fw 6.2.45.  Is this normal behavior? If so - is it possible to turn them on without manually (every time) changing autorun.brs ? If not where do I add EnableScrollbars(true) if a have to use a custom autorun.brs?

    Or is there anotherway to turn them on "by default" ? Using only BA. 

  • 1
    Avatar
    Ryan Cane

    I am having similiar issues where it does not display the scrollbars for HTML 5 webpages as well as how you display a keyboard if you filling information out on a webpage? Can anyone assist 

  • 0
    Avatar
    Chris Hadley

    3 years later after the last post here and I'm having the very same issue.  Running under firmware 8.2.55.5 on XT1144-PP player.  Scrollbars aren't displaying on HTML pages.  Did anyone find a resolution to this issue?

  • 0
    Avatar
    Alessandro

    Yes, we found a solution. In the autorun.brs modifyt the code at line 28167 in the EventLoop() function:

    Before:

    SQLITE_COMPLETE = 100
    while true
    msg = wait(0, m.msgPort)
     
    After:
     
    SQLITE_COMPLETE = 100
       r = CreateObject("roRectangle", 0, 0, 1920, 1080)
            h = CreateObject("roHtmlWidget", r)
                h.SetURL("https://www.yoursite.com")
        while true
            h.EnableMouseEvents(true)
            h.enableScrollbars(true)
            sleep(1000)
            h.Show()
            msg = wait(0, m.msgPort)
     
    This work for me. The scrolling is very unusefull, the action of scroll is perfomed only when the button of the mouse is released and not during the movement.
    I'd open a thread for this
     
Please sign in to leave a comment.