Sahil Pasricha
Sahil Pasricha

Reputation: 133

Run HTML inside Script Tags Using EJS Template

I am trying to implement Video Streaming + Live Chat using Simple WebRTC. Here is the link to tutorial:

Click here!

It works fine when i implement it in a fresh application using html extension. But i am working on some project and i need to embed this code inside my project which uses EJS templating.

Here are screenshots of what error it shows

Code Code

Console Error Console Error

I have tried using HTML template it works fine inside it but, not working inside EJS Template. It is clear that i want ejs file to treat these script tags as html. Please help. Thanks in advance

Upvotes: 1

Views: 315

Answers (0)

Related Questions