It doesn't work for me now, so I try to modify your code.
Here's some lines that I changed:
var prefix = 'videoData:[{';var suffix = '}],';// result.push(JSON.parse(videoData));result.push(eval('(' + videoData +')'));
I use eval beacause the string data is not JSON formatted.
Pull requests - 2017/10/29
It doesn't work for me now, so I try to modify your code. Here's some lines that I changed:
var prefix = 'videoData:[{';
var suffix = '}],';
// result.push(JSON.parse(videoData));
result.push(eval('(' + videoData +')'));
I use
eval
beacause the string data is not JSON formatted.