Adding an image in read_index.html is not working #3633
Closed
Martayugui
started this conversation in
General
Replies: 1 comment
-
Hello, if you want to customize the WebRTC reader, the README suggests "to create and serve a custom web page by starting from the source code of the WebRTC publish page", not to hack the server. The server doesn't support hosting resources other than the web page itself. Conversely, if you take the code of the WebRTC page and host it on your own HTTP server (for instance, nginx), you will be able to host additional resources, like images. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody,
I am customizing the web page via read_index.html file. One of the new features I would like to add is to display a image in the middle of the screen when video streams are not coming.
I have run the same test with another html file and it has worked.
I have added the image using some JS code, CSS and HTML:
<div id="header" class="center"></div>
What I am getting:
I have tried different ways to show the image but any of them have worked.
Any idea?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions