Making WordPress.org

Opened 2 years ago

Last modified 8 months ago

#6311 new enhancement

Upgrading and evolving the WPTV form to upload videos

Reported by: maximeculea's profile MaximeCulea Owned by:
Milestone: Priority: high
Component: WordPress.tv Keywords: needs-dev-note needs-patch
Cc:

Description

A bit of context, as a WordCamp organizer, we came across a lack of documentation (https://make.wordpress.org/tv/handbook/aws/upload-s3/) about the process of uploading videos for WPTV which is not up to date anymore.

So to ease the process of uploading videos (for a WordCamp), the documentation will be updated, but most of it, I propose to evolve the form (https://wordpress.tv/submit-video/) and connect it to WordCamp sites to automagically get the following fields:

  • WordCamp event
  • Session info
  • Session could lead to speaker info as well

The user could tweak the fields if necessary, remaining only to upload the file for the video.

The idea is to minimize errors and facilitate the form submission, especially when uploading 10-15 videos for a WordCamp.

Attachments (1)

form.png (103.7 KB) - added by MaximeCulea 2 years ago.

Download all attachments as: .zip

Change History (10)

#1 @MaximeCulea
2 years ago

Note: It's not related to https://meta.trac.wordpress.org/ticket/1429 even if we talk about form improvements.

#2 @dd32
2 years ago

#1429 and this go hand in hand IMHO.

The way I envisioned it:

  • WordCamp selection list, possibly pulled from the WordCamp central wp-json API
  • Upon selecting the WordCamp, fetch the sessions / speakers details via site-specific wp-json
  • Upon session selection, auto-fill the fields on the upload form with those details.

The above would be purely client-side javascript.

We could add extra fields on the WordPress.TV side to store any additional metadata needed, such as the Session that it was imported from, or the WordCamp Twitter account (to fill in the Event Term metadata)

I'm not sure if the WordCamp API's expose all that's needed, but if not, adding public data can be easily added.

#3 @sippis
2 years ago

Some API addresses taht are probably helpful :)

In case more details are needed in those endpoints, open an issue on the WordCamp.org Github repository. I'm happy to help on that side if/when needed!

#4 @dd32
2 years ago

Additionally, if required, we could separate the WordCamp submission page into a separate form from https://wordpress.tv/submit-video/ (ie. https://wordpress.tv/submit-video/wordcamp/) so as to streamline the submission process.

That would require some WordPress.tv alterations, but shouldn't be significantly more work.

#5 @MaximeCulea
2 years ago

From the current form, things will go like that:

  1. We still tick "This is a WordCamp video" changing the form to allow to communicate with the WordCamp APIs.
  1. Deleted fields
  • Category is deleted because since it's a WordCamp video, it will be "WordCampTV" by default.
  1. Existing fields that still need to be filled:
  • Uploaded by (as required): Uploader's WP username
  • Email address (as required): Uploader's email
  • Producer WordPress.org Username: Video producer's WP username
  • Language: WordCamp can have multiple languages such as Geneva in French and English. Also, to facilitate how all videos are ordered, we will have to display a multi-select field with all available languages.
  1. Fields that wont't show but will get automatically from APIs:
  1. New fields that need to be created (with API)
  • WordCamp selector (from API)
  • Session selector (from API)

So the uploader has to select the WordCamp bringing the Sessions and select one. This will populate all fields from point 4.

Note: here is the WPTV theme: https://github.com/WordPress/wordpress.org/tree/trunk/wordpress.tv/public_html/wp-content/themes/wptv2

@MaximeCulea
2 years ago

This ticket was mentioned in Slack in #wptv by maximeculea. View the logs.


2 years ago

#8 @wplmillet
8 months ago

I think that for the language field, we need to build on what has already been validated previously. Basically, make a select that uses the list of languages validated in previously published videos as a reference list. With this method, the creation of new languages relies on the administrators and moderators. If, during the validation of a video, a moderator sees that a language proposal is wrong, he or she can correct it and the wrong proposal will no longer be proposed in the select of the submission form. However, I don't know if this value can be called up via an API.

This ticket was mentioned in Slack in #wptv by jaz_on. View the logs.


8 months ago

Note: See TracTickets for help on using tickets.