Wikia/app — pull request #322 by lizlux (2013-01-09 21:53:51+00:00)
Title: fixing anyclips player loading

For this ticket: https://wikia.fogbugz.com/default.asp?95138. There's been many different strategies for loading anyclips videos, which rely on jQuery being loaded first, and can be loaded on the file page or on demand (via lightbox and VET).

This seems to me to be the best solution for all scenarios. It involves adding a flag to indicate the gAfterContentAndJS stack has been executed so that JS can be run on demand after page load.

Notifying @macbre, since this is a global front end change.

Note: this fix was branched off of dev but actually needs to be cherry picked into the release branch for this week's release.