Jump to content

Topic on Extension talk:TimedMediaHandler/VideoJS Player

Upcoming changes to new video player mode

7
Brooke Vibber (talkcontribs)

Sometime in the next week or so, the new video player mode will update to the latest patch revision. (Until then, you can see it in action at video-testing.wmflabs.org)

This makes a few changes, some for performance and some for comfort:

  • The video.js (and ogv.js if needed) libraries are loaded on-demand and minified better, so there's less download penalty to a page using video or audio components.
  • Instead of playing inline (often uncomfortably small for thumbnails), videos play in a larger dialog box, making them easier to see! (In the future this dialog box may be replaced with integration into the Media Viewer interface used for photos) Unlike the old dialog box, this uses the same UI library as other MediaWiki components, so will feel more familiar, and it handles mobile screens or small windows well.
  • Temporarily, audio players are not transformed -- you get the default audio player controls of the browser. This has a couple downsides like no captions support, but means you can play an audio file without the dialog.

Once a few more improvements get in we'll probably switch over the mode to default, and later dismantle the old player to simplify the codebase and reduce the size of the ResourceLoader module definitions.

Issues to fix include:

  • Handling audio!
  • Possibly enabling captions by default
  • Remembering caption and resolution settings

This hopefully will happen by the end of the calendar year. Your feedback is useful and welcome, and I'll be filing more tasks in phabricator with additional things I've seen in the feedback forum. Thanks everyone!

Brooke Vibber (talkcontribs)

Updated audio support is in the works and can be tested at video-testing.wmflabs.orgnow as well, but has a few glitches in Safari.

Maizunir (talkcontribs)

If UI library as other MediaWiki are familiar, and then why I can play an audio without the dialog

Eatcha (talkcontribs)

+1 for Remembering caption and resolution settings, I am usually on >50Mbps network changing the quality every time is strenuous. Specially when I participate at COM:FVC.

I tried the video-testing.wmflabs.org and it works fine on all(5) of my devices.

Thanks for this new player!

Nardog (talkcontribs)

@Maizunir Couldn't agree more. This is going out of its way to make the experience worse and it makes no sense.

Nardog (talkcontribs)

Or, alternatively, will it make it possible to place an inline button (or preferably a link) that opens the dialog without embedding a player? That would solve the issue I brought up here, though not to the full extent.

This post was hidden by Nardog (history)