Page MenuHomePhabricator

Preview video while editing with VE
Open, LowPublic

Description

It is not possible to preview a video while using VE (frwp feedback).

User case:

  1. Edit article with VE
  2. Insert > Media
  3. browse a video / can't watch the video
  4. have all media details / can't watch the video
  5. add caption and insert the media / can't watch the video
  6. save article
  7. can see the video

Event Timeline

Trizek-WMF raised the priority of this task from to Needs Triage.
Trizek-WMF updated the task description. (Show Details)
Trizek-WMF subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdforrester-WMF edited projects, added TimedMediaHandler, Epic; removed MediaViewer.
Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.

Moved from T104237:

@Jdforrester-WMF the new html5 structure assumes that JS controls will be provided. If those are not provided, then a controls attribute needs to be added to enable the standard browser controls.

There was some discussion on this when we implemented it, but basically it comes down to: HTML5 video assumes that you can guarantee the same environment for all your content, or that you have different end points for different environments. You can't have JS in one environment and then no JS in the other, with the same HTML content.

So either add the video.js modules, or add custom JS to add the controls attribute for this specific situation.

This relates to the new Video player too.