videojs/video.js — pull request #1340 by dmlap (2014-07-09 20:30:01+00:00)
Title: Track the object element during init and remove it if the tech is dispos...

...ed before onReady. For #1339.

If dispose() was called before the SWF triggered onReady(), the placeholder div would be cleaned up but the actual object element would be left behind to mess things up in the future. Keep track of the object element during initialization and make sure it is removed if flash is unloaded early.