Use a video file in an Education Program page. In read mode there is no embeded video player, only a thumbnail with a link "Play media" leading to the video file itself (so it is playing through the browser or it is downloaded).
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T98969 Video files do not play through the embedded player on EducationProgram and other fake pages | |||
Resolved | TheDJ | T74675 Dynamically loading TimedMediaHandler for new content (preview) | |||
Resolved | TheDJ | T90851 LivePreview fires wikipage.content hook before attaching content, which breaks some scripts | |||
Resolved | TheDJ | T60085 TimedMediaHandler should not add start-up scripts |
Event Timeline
Use a video file in an Education Program page
@geraki: Please provide a link to an example so someone else could reproduce, plus browser information.
All browsers, all OSes.
Example: Education Program:Αριστοτέλειο Πανεπιστήμιο Θεσσαλονίκης/Μαθηματικό (2015)
The second thumbnail is a video file. There should be an embedded player like here: https://el.wikipedia.org/w/index.php?oldid=5261007
In fact I now understand that it is not a bug strictly related to the EducationProgram extension. Previewing a message in [[Special:MassMessage]] shows the same behaviour.
This is because the page is not a normal article page, but instead an assembled page including a wikitext fragment.
TMH isn't RL compatible yet, and modules are not properly added to the parser output. This makes it impossible to embed them into another output page.
This should now work. But it doesn't. That means that whatever method the Education Program is using to build the page, is not copying the resourceloader modules from the wiktext parser output into the destination page output.
Syntaxhighlight should also not work for that reason.