Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix poster with relative path #598

Closed
rdlmn opened this issue Nov 1, 2023 · 2 comments
Closed

Fix poster with relative path #598

rdlmn opened this issue Nov 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@rdlmn
Copy link

rdlmn commented Nov 1, 2023

After recent update relative URL path in "poster" property stopped working. It used to - see example below. No errors in the browser console, does not seem to even attempt to load. If i put full path, it works.

  • type: custom:webrtc-camera
    url: rtsp://192.168.1.1:XXX/camera
    mode: webrtc
    poster: /local/images/poster.jpg

Having relative path is very useful because I have dashboards for devices outside of my network and have devices inside of the network, but disabled from internet. Having relative path works for both cases based on how HA is accessed (internally/externally). Please fix this.

@jymorel
Copy link

jymorel commented Nov 11, 2023

same issue here. And systematically a warning in the log and a persistant notification when displaying card in the browser.

card
log
persistant notification

@AlexxIT AlexxIT added the bug Something isn't working label Nov 11, 2023
@AlexxIT AlexxIT changed the title Poster property relative path stopped working Fix poster with relative path Nov 12, 2023
AlexxIT added a commit that referenced this issue Nov 12, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 17, 2024

@AlexxIT AlexxIT closed this as completed Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants