Page 1 of 1

refresh I-frame?

Posted: Thursday 30 August 2018 17:11
by Pandabeer
I try to run a internet radio which isn't available in mp3 link - I managed, I get sound! but after app. 20 seconds the pause button returns to play buttond and the stream is gone till I hit de play button again (then after 20 seconds it repeats and repeats :oops: )

Somebody a solution for this - so I can hit only once the play button and enjoy the readio stream?

Here the code of my CONFIG.js

Code: Select all

var frames = {}
frames.gnr = {height:80,frameurl: "https://ssl.streampartner.nl/player.php?url=aie84hfhpw48pfhpench",width: 4, title: 'GrootNieuws Radio',image: 'https://d5fo1dvw5napl.cloudfront.net/wp-content/uploads/2017/08/Logo-Groot-Nieuws-Radio-e1503031011729.png'}
and

Code: Select all

columns[2] = {}
columns[2]['blocks'] = [calendars.combined	,tvguide.dutch,buttons.buienradar,frames.gnr]
columns[2]['width'] = 4; 
Thank you in advance for your help!

Re: refresh I-frame?

Posted: Thursday 30 August 2018 21:33
by Lokonli
Probably it's because of the refresh of the iframe. You can configure the refresh rate with:

Code: Select all

frames.gnr = {refreshiframe:1000000,...
If you make the refreshiframe big enough you can listen for a while...

Re: refresh I-frame?

Posted: Thursday 30 August 2018 22:08
by Pandabeer
thanks!