Streaming live at 10am (PST)

Lightbox After Code Export


#1

Hello.
I exported my code to use for my project.

And I got a problem with lightbox to make work.
I want client to add youtube link or image link to show in Lightbox. and I tried to add in section in html iframe section.

And I got error like this

Malformed lightbox JSON configuration. SyntaxError: JSON.parse: unexpected character at line 4 column 28 of the JSON data

And this is exported code from Lightbox

<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHCDB5yntPm4%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHCDB5yntPm4&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHCDB5yntPm4%2Fhqdefault.jpg&key=96f1f04c5f4143bcb0f2e68c87d65feb&type=text%2Fhtml&schema=youtube\" width=\"940\" height=\"528\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>

I think it is because of key value.

Can anyone help?

Thank you!


#2

Link to page with error?


#3

Hello!
Thanks for reply.
I'm working on dev mode so I can't share live website

Here is stack trace on my browser


#4

It's obviously a syntax error in the custom code, but your question doesn't have sufficient information.