You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a player with techOrder ['flash', 'html5'] but no sources and no data-setup
Initialize video.js manually: videojs(video)
Immediately set an html5-compatible source: player.src({ src: 'movie.mp4', type: 'video/mp4' })
If the Flash tech is disposed of before the ready callback, Component removes the orphaned placeholder div, not the object element. That causes the object element to remain in the DOM after the new tech has been loaded and things get even more crazy once the ready handler finally fires.
The text was updated successfully, but these errors were encountered:
dmlap
added a commit
to dmlap/video.js
that referenced
this issue
Jul 9, 2014
…posed before onReady. For videojs#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.
Steps to reproduce:
['flash', 'html5']
but no sources and no data-setupvideojs(video)
player.src({ src: 'movie.mp4', type: 'video/mp4' })
If the Flash tech is disposed of before the
ready
callback, Component removes the orphaned placeholder div, not the object element. That causes the object element to remain in the DOM after the new tech has been loaded and things get even more crazy once theready
handler finally fires.The text was updated successfully, but these errors were encountered: