Skip to content
Advertisement

Dropzone JS: Response not parsing facebook video iframe

I am uploading a file to facebook using dropzone js script. File uploads successfully. As response I am returning some html which includes the code to show facebook video:

JavaScript

The code which triggers the upload using Dropzone is:

JavaScript

I see the item appended but iframe does not load the video. My guess is that the html response is not being parsed. any suggestions?

Advertisement

Answer

I was missing to parse code prepend using:

JavaScript

Code looks like:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement