custom html schedule

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

Hello guys, i've big problem: 
I've a schedule made by many presentation, few of them are custom html, pratically I put 4 Facebook post in 4 different divs (i get the post by the standard iframe). You can see the presentation here: http://preview.risevision.com/?type=presentation&id=39a2e0f3-9c7b-452c-a794-e2143518b3d9

Now my problem, as you can see all divs are animated by a FadeIn script but the delay starts as I play my schedule. So, I've this presentation 3 times in one schedule, I see correctly the 1st one but the last 2 are just loaded, so I can't see the animation :(

Just to clearify, the schedule has this schema:
Playlist:
  • Facebook feed
  • some presentations
  • ...
  • ...
  • Facebook feed
  • ...
  • ...
  • Facebook feed
I hope you understand my situation ;)

Thx
Photo of Alberto Grassi

Alberto Grassi

  • 378 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Alberto,

Is there a way to make it reload those animations every X seconds?

Since these Presentations are only playing for 30 or so seconds in your Presentation, we are not unloading anything, the Presentations stay loaded instead of reloading it every 30 or so seconds.

My suggestion would be to reload that animation every so often so that it would load the next time the Presentation came up.

Would that work?
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Alberto, Because it is custom web page, you could simply meta refresh it like Robb said every X seconds http://www.w3schools.com/tags/att_meta_http_equiv.asp
(Edited)
Photo of Alberto Grassi

Alberto Grassi

  • 378 Points 250 badge 2x thumb
Ok well, it's a good tip but actually I don't know the exact moment that page will must be reloaded, this is my problem..
For example if the first page plays for 40s and I set the delay as 40s I can see the second page correctly, but next time it will be loaded cos the playlist loop infinitely..
I can use the meta tag for auto reload but I don't know the proper time to set up.. Is this clear?
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Alberto, I think you simply need to add times of every following presentation is schedule to get your refresh time. Now it sounds easier than it really is. This approach most likely is not going to work because for one or another reason there is a slight delay in RV (that includes network delays too) and it differs from time to time and it is near to impossible to predict real refresh times.
With that in mind, I am suggesting you to find some sort of compromise. For example you can let all the animation play, then allow some pause before resetting it for another repeat. And leave it like that. Set you presentation's duration to allow 2-3 or whatever playbacks of that animation. This way it will look intentional and it would not matter if the next time this presentation comes back up in the middle of animation playback.
Photo of Alberto Grassi

Alberto Grassi

  • 378 Points 250 badge 2x thumb
I thought the same thing, and of course I tried the classic:

<meta http-equiv="refresh" content="5">

But it doesn't work at all. Is possible that in Risevision some META are "blocked" ?
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
I do not think so because it works for me.

UPDATE:
Just tested it. It appears that meta refresh would not work with JS in the same document... that is something new to me.

If used in the HTML Widget it would work once... sort of. It kills the placeholder )))

It works fine if used in the external web page and pulled to a presentation with the Web Page Widget.

I am not sure why meta refresh did not work with JS; will look in to this myself. It appears that your best bet is to alter animation script in order to make it reload.
(Edited)
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Many thanks for the investigation Darius, this is fantastic!

Alberto, will you be able to carry out altering that animation script?
Photo of Alberto Grassi

Alberto Grassi

  • 378 Points 250 badge 2x thumb
So Darius, are you telling me that to work around the refresh issue I've to use the web page widget pulling an external page within the refresh meta? I'll check it out soon!
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Alberto, no, this is not exactly what I said. I could not make meta refresh work with java script in the code. If you can make it work with yours - great. Otherwise, I think your best option is to modify the java script to trigger animation restart function. But yes, use external webpage instead of custom HTML for things like that.
Photo of Alberto Grassi

Alberto Grassi

  • 378 Points 250 badge 2x thumb
Btw, i changed my page style, now there is only transition instead of fade-in animation.
I thx you all for the support!
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Also, Alberto, check out the WOW Slider http://wowslider.com/ - I think it is great for things like that.
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Awesome!