Play until Done with HTML website

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I am looking for a means for an HTML website to trigger back to Rise that it is 'done'.  i.e.: if I have an HTML widget enabled with 'play until done' checked, and then link out to a website... once that website is done presenting what it wants to present, it would then issue some sort of a 'done' message back to the Riseclient who would then move on to the next presentation.

What's the easiest way to accomplish this?
Photo of Jeff

Jeff

  • 230 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Robb

Robb, Official Rep

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

What is showing in the HTML Widget? If it was a Video, or a countdown timer of some sort, would you be able to use the Video Widget, or maybe not set it as PUD and use a specific duration?

It sounds like your only option with the HTML Widget would be some custom HTML, but that would be dependant on the content you are showing, and how it knows when it is done. 

Hopefully another forum member can lend some assistance!
Photo of Jeff

Jeff

  • 230 Points 100 badge 2x thumb
For the content management I am looking at, I need the integration with the external website so data is aligned between the web presentation (as part of a public website) and the Risevision presentation.  But right now I have to set it for a fixed period, which is not desirable since the time changes depending on the content.

I was looking at the API, and didn't see even in there where I can trigger a 'done' message.
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Hi Jeff,
The Play Until Done setting in the HTML Widget won't work in this instance. I do not know if it's even possible to have this working unless all of the content is developed and set up on a separate website page that you can link to in the Schedule or via the Web Page Widget and you only use the Rise Player purely as a distribution channel.
Photo of Jeff

Jeff

  • 230 Points 100 badge 2x thumb
It would run on a separate webpage on the webserver, just pulling some common content that will be shown on both the website (via different URL) and the displays. 

So the web page widget would call a link on the webserver... the question remains is how does the link signal back to rise to say 'I'm done showing my stuff... this presentation is finished... move on'.

Does this involve use of the Risevision API?  If so, what function would I call to say 'I'm done'?

Jeff
(Edited)
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Hi Jeff,
The Web Page Widget works by display the page in an iframe. We have a repo here. We have documentation about customized widgets at https://help.risevision.com/developer... which is where you'll find info about the ready/done events.
Photo of Jeff

Jeff

  • 230 Points 100 badge 2x thumb
Thanks, I will take a look.
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Hi Jeff,
I've passed the comment on to the content team, here is a suggestion:

You can include http://rvashow2.appspot.com/gadgets/g... in the page and then following the instructions for making an RPC call that sends Done once the page is "finished" at https://help.risevision.com/developer...

The only thing is that Viewer expects a Widget ID as part of that call which the page does not have.. Here is more reading about the Widget IDs https://help.risevision.com/developer...

Let us know how you go with the above

Thanks
Hannah