Advice needed for leveraging Emby metadata in HA

David Li's Avatar
Admin Admin
  • Posts: 1027
  • Thanks: 99

Re: Advice needed for leveraging Emby metadata in HA

1 year 4 months ago - 1 year 4 months ago
#4269
Chrome (or any other browser) will not allow a HTTPS secure webpage to be displayed in a HTTP webpage.
So, Both need to be HTTPS.
myserver would need a security certificate added to it for HTTPS.

Maybe that's what you are looking at?
Last edit: 1 year 4 months ago by David Li.

Please Log in or Create an account to join the conversation.

Nillaz's Avatar Topic Author
User User
  • Posts: 444
  • Thanks: 36

Re: Advice needed for leveraging Emby metadata in HA

1 year 4 months ago
#4270
I appreciate the suggestions guys. I went down the SSL rabbit hole for several hours without any luck, but I dug deep enough that I eventually figured it out anyway. It turns out Home Assistant made a breaking change several versions back blocking the use of iframes to prevent clickjacking. This is obviously going to be a problem with the webpage component in myDesigner.

For the sake of posterity if anyone here ever wants to access Home Assistant from within a myServer template you'll have to modify your configuration.yaml file and add the lines:

http:
  use_x_frame_options: false

I still have some formatting work to do to pretty things up but I've already tested it as a proof of concept and I think this is going to work out. Thanks again!

Please Log in or Create an account to join the conversation.

Time to create page: 0.267 seconds