Securing the webpage by hiding the username password in the html



I have an external api that returns username and password in plain text(sounds odd but this the the fact) and I need to use the username password in my meteor html to render an other video streaming url. How do I ensure that the username password used in the html rending is not visible to the use when he/she inspects the page?