Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

RompR include in a <iframe> #48

Hello all,

I have a problem with the RompR webplayer.

I have the player fully running on a Raspberry 4 b, an MPD and an Apache2.

When I start the webplayer normally via the browser I can fully operate everything and everything runs wonderfully.

The call is done as follows my local: http://192.168.178.30/rompr/index.php

But if I try to integrate the webplayer in an iframe I only get the following picture - see picture and I can't use anything anymore, because the info window dominates everything and on the left and right the selection of media / radio stations and the current playlist doesn't work.

webplayer inner iframe.png

Therefore now my question, what do I have to consider when embedding the webplayer in an iframe, am I missing any additional html options here or specific options for setting the iframe?

The call within the iframe is currently the very simple following: iframe> src=" http://192.168.178.30/rompr/index.php"></iframe

Can someone help me with this?

Thanks a lot.

  • replies 1
  • views 1.7K
  • likes 0
#2

I'll be very surprised if it works in an iframe. The browser's built in security will probably prevent any of the javascript from running. You could try looking at the browser's console output but I reckon you're wasting your time.