refresh I-frame?

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
Pandabeer
Posts: 24
Joined: Monday 18 December 2017 12:09
Target OS: Raspberry Pi
Domoticz version: 10265
Location: Zwolle
Contact:

refresh I-frame?

Post by Pandabeer » Thursday 30 August 2018 17:11

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!
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa |

Lokonli
Posts: 138
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: refresh I-frame?

Post by Lokonli » Thursday 30 August 2018 21:33

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...

Pandabeer
Posts: 24
Joined: Monday 18 December 2017 12:09
Target OS: Raspberry Pi
Domoticz version: 10265
Location: Zwolle
Contact:

Re: refresh I-frame?

Post by Pandabeer » Thursday 30 August 2018 22:08

thanks!
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa |

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests