Skip to content

scrolling marquee #801

Closed
mfrederickson opened this Issue Jan 3, 2014 · 17 comments

5 participants

@mfrederickson
Concerto Digital Signage member

How do you envision this working?

As a separate plugin or an enhancement to the existing ticker?
Pulling one piece of content at a time (like it currently does) or pulling all of them and combining them, only refreshing when it has finished the whole string?
Using the html marquee tag or some other mechanism?
How will we get news (RSS .a.k.a. Text) in the ticker?

@bamnet
Concerto Digital Signage member
bamnet commented Jan 4, 2014

I think it depends what people want. One implement would be to create the Marquee transition which would get used by the Ticker field. The transition could ignore the content's duration and manually trigger the advancement when it was getting ready to scroll the next one across.

Alternatively, if someone wants a specific RSS feed to act as a Marquee that speaks more to a specific content type that has special JS to slide across a bunch of messages for duration seconds before fading back to the regular ticker stuff.

@augustf augustf modified the milestone: 0.9.1 Apr 4, 2014
@ddbruce
ddbruce commented May 28, 2014

So, I don't know the nitty gritty of the code base yet because I'm a front end guy. That said, a plugin should take in specific text or some RSS feed, parse it, and store it somewhere. When it comes time to run the scrolling ticker, something like http://www.smoothdivscroll.com/index.html should be used. The front end needs to be told to use a specific jQuery plugin for a certain length of time, also.

That plugin with run text and divs (I assume with images, if one wants), looping if the user wants. I imagine it wouldn't be hard to grab headlines from somewhere and throw the Concerto logo between them.

@augustf
Concerto Digital Signage member
augustf commented May 28, 2014

It sounds like there are two things at work here. The first is getting RSS content into the ticker form-factor. The second is introducing, perhaps through a fieldConfig, the possibility of having the ticket text scroll.

@ddbruce
ddbruce commented May 28, 2014

I can do out the jQuery code if someone wants to take on the other thing(s).

@augustf
Concerto Digital Signage member
augustf commented May 30, 2014

So we're going to do a fieldConfig for a moving ticker to close this out. Separately, I'm going to file an issue regarding putting RSS feeds into the ticker field.

@ddbruce
ddbruce commented May 30, 2014

Here's some code to get the marquee to work. Obviously, the stylesheet and JS both have to be worked into the code of the site.

I suggest separating headlines or news snippets with the Concerto logo.

https://gist.github.com/ddbruce/dc1019f75a1375840b16

Here's a demo: http://therealdanbruce.com/dev/tick/

@simplysoft

We should use some css3 animation based approach. Even on my iMac the current marquee does not play smoothly. On an iPad the individual characters are "jumping" (space between chars varies).

Here is an example: http://jsfiddle.net/MaY5A/1/

@ddbruce
ddbruce commented May 30, 2014

Hm. I tried it on a few machines, and I didn't have any problems, although I can't say it doesn't surprise me.

I'll work on another version.

@ddbruce ddbruce was assigned by augustf Jun 6, 2014
@augustf augustf added this to the Concerto 2.1 milestone Jun 7, 2014
@simplysoft

Way better then the previous version. Animation is nice and smooth, even on a mobile phone

@ddbruce
ddbruce commented Jun 7, 2014

@simplysoft thanks! I aim to please

@augustf
Concerto Digital Signage member
augustf commented Jun 7, 2014

@bamnet How best could be go about integrating this into the frontend (assuming a fieldConfig exists to activate this)?

@augustf augustf closed this in #975 Jun 13, 2014
@mfrederickson
Concerto Digital Signage member

Has anyone been able to get the scrolling marquee to not jump on the Raspberry Pi?

@augustf
Concerto Digital Signage member
augustf commented Jun 18, 2014

From what I've seen online, the pi performs really poorly with any sort of visual effects (including CSS3) in Midori. Have you tried Chromium?

@mfrederickson
Concerto Digital Signage member
@bamnet
Concerto Digital Signage member
bamnet commented Jun 28, 2014

Reopening. I'm not very comfortable with this implementation, it's hardcoded into the frontend in such a way that isn't very flexible for people to introduce other models for multi-content flows. Marquees should be a thing, but like CAS and LDAP I'm not comfortable having them baked in as closely as they are right now. I won't pull out the code now, but let's not advertise this as a V2 feature until a supporting framework is in place. I'll open a new issue tracking the frontend work required to clean up this implementation.

Additional commits captured in follow up prs:
9f403a3
149a037
251e40f <-- This is a hack changing the intended frontend API.

@bamnet bamnet reopened this Jun 28, 2014
@bamnet bamnet assigned bamnet and unassigned mfrederickson Jun 28, 2014
@augustf augustf modified the milestone: Concerto 2.0.1 Jul 9, 2014
@augustf augustf added this to the 2.1.1 milestone Aug 4, 2014
@augustf augustf modified the milestone: Concerto 2.3 (Frontend) Nov 26, 2014
@augustf augustf modified the milestone: Concerto 2.3 (Frontend) Feb 5, 2015
@bamnet bamnet was unassigned by augustf Mar 24, 2015
@mfrederickson
Concerto Digital Signage member

I think this should be closed because there is an existing issue under the frontend repo for this.
concerto/concerto-frontend#44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.