MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MMM-NewsFeedTicker, how do I make the marquee go faster



  • Hello,

    I would like to make the marquee faster, but do not know how?
    I’ve already tried it with “Animation Speed”.
    Which possibilities are still there?

    Lordy
    (translate by google)


  • Project Sponsor

    Try adding this to your custom.css :

    .MMM-NewsFeedTicker .tickerbody {
      -webkit-animation: marquee 2s linear infinite;
      -moz-animation: marquee 2s linear infinite;
      -ms-animation: marquee 2s linear infinite;
      -o-animation: marquee 2s linear infinite;
      animation: marquee 2s linear infinite;
    }
    


  • Thanks first. (Erstmal Danke)
    But feel no difference to before. (Aber spüre keinen unterschied zu voher)
    Can you do it even faster? (Kann man es noch schneller machen?)


  • Project Sponsor

    @Lordy

    Try this, but after that I don’t know.

    .tickerbody {
      -webkit-animation: marquee 1s linear infinite !important;
      -moz-animation: marquee 1s linear infinite !important;
      -ms-animation: marquee 1s linear infinite !important;
      -o-animation: marquee 1s linear infinite !important;
      animation: marquee 1s linear infinite !important;
    }
    

    Be aware that the Raspberry pi doesn’t do animations very well, so something that works smooth and quick on a normal computer won’t work as well on a pi.



  • Thanks, great job.😉
    There you can see how “important” is important, the same, did yesterday too.



  • I have now discovered a new problem.
    I want to read the entire line and not the same line twice. *(Ich möchte die gesamte Zeile und nicht zweimal dieselbe Zeile lesen.)
    Where can you extend the display time? (Wo kann man die Anzeigezeit verlängern?)



  • @broberg said in MMM-NewsFeedTicker, how do I make the marquee go faster:

    MMM-NewsFeedTicker

    go to the following line in the MMM-NewsFeedTicker.js file and change the number 1000 to a lower number. (some users are finding that changing to 300 works best for them, adjust to your preference)

    tickerBody.style.animationDuration = Math.round(this.config.updateInterval / 1000) + "s";
    

    hope it helps you



  • @JohnDelta
    Unfortunately no, thanks anyway.
    My main concern is: “I want to read the entire line and not the same line twice. Where can you extend the display time?”

    Lordy


Log in to reply