I would like to dynamically load TimedMediaHandler for new content (i.e. previews in wikEd). So far I kind of got it to work with:
mw.loader.load( ['mw.MwEmbedSupport', 'mw.EmbedPlayer', 'mw.PopUpMediaTransform'] );
However, when clicking a video clip thumb, the running on-page media player is missing its controls and duplicate player with complete controls is run in a new upload.wikimedia.org window.
How is it done correctly and completely?
Version: unspecified
Severity: normal