Embed Camera stream


i have a rtsp camera stream converted into a webstream with ContraCam. Now i want to embed the site into my dashboard.
If i Use grafana on the localhost (where also the webserver is located) and access the iframe url with localhost, it works, but if i choose the static url it wont. Ports are all open and if i am not working on the local host, i can access the webpage in the normal browser but not in grafana dashboard, so i think it is a grafana issue.
Hope someone can help

thank you