Question

2 Followers
0

How does one rerun the script?

When videos are added dynamically, for example using ajax and by replacing the DOM with the response, how would one rerun the script?

Papa Levies

Official answer

Hi, you do not need to rerun the script. Once it's running it monitors the DOM for changes and if it detects a new video it will automatically replace it.

Hope that helps.

Alex Papaspiridis

Please sign in to add your answer.