[Enhancement]: Enable IFRAME activation #2400

Closed
opened 2026-04-25 00:06:45 +02:00 by adam · 2 comments
Owner

Originally created by @miltuss on GitHub (Dec 6, 2024).

Type of Enhancement

None

Describe the Feature/Enhancement

Since update 2.17.3, IFRAME integration no longer works with ABS. And some Reverse-proxy like Caddy cannot activate ABS IFRAME. An ENV variable could give users the choice of whether or not to activate the IFRAME.

Why would this be helpful?

I use ABS with the Organizr application which integrates other applications in IFRAME

Future Implementation (Screenshot)

.

Audiobookshelf Server Version

2.17.3

Current Implementation (Screenshot)

No response

Originally created by @miltuss on GitHub (Dec 6, 2024). ### Type of Enhancement None ### Describe the Feature/Enhancement Since update 2.17.3, IFRAME integration no longer works with ABS. And some Reverse-proxy like Caddy cannot activate ABS IFRAME. An ENV variable could give users the choice of whether or not to activate the IFRAME. ### Why would this be helpful? I use ABS with the Organizr application which integrates other applications in IFRAME ### Future Implementation (Screenshot) . ### Audiobookshelf Server Version 2.17.3 ### Current Implementation (Screenshot) _No response_
adam added the enhancement label 2026-04-25 00:06:45 +02:00
adam closed this issue 2026-04-25 00:06:46 +02:00
Author
Owner

@advplyr commented on GitHub (Dec 8, 2024):

Since this is a common request I made this a server setting.

image

Allowing iframe embed can also be enabled via an env variable ALLOW_IFRAME with a value of 1.

Note: If it is enabled through the env variable there will be an error message shown when attempting to disable it in server settings. Env variable takes precedence.

@advplyr commented on GitHub (Dec 8, 2024): Since this is a common request I made this a server setting. ![image](https://github.com/user-attachments/assets/9c37df1d-9529-4ab9-9a92-4c73633e777b) Allowing iframe embed can also be enabled via an env variable `ALLOW_IFRAME` with a value of `1`. Note: If it is enabled through the env variable there will be an error message shown when attempting to disable it in server settings. Env variable takes precedence.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 8, 2024):

Fixed in v2.17.5.

@github-actions[bot] commented on GitHub (Dec 8, 2024): Fixed in [v2.17.5](https://github.com/advplyr/audiobookshelf/releases/tag/v2.17.5).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2400