[wp-meta] [Making WordPress.org] #6311: Upgrading and evolving the WPTV form to upload videos

Making WordPress.org noreply at wordpress.org
Thu Jun 2 15:14:23 UTC 2022


#6311: Upgrading and evolving the WPTV form to upload videos
----------------------------------------+---------------------
 Reporter:  MaximeCulea                 |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  high                        |   Milestone:
Component:  WordPress.tv                |  Resolution:
 Keywords:  needs-dev-note needs-patch  |
----------------------------------------+---------------------

Comment (by MaximeCulea):

 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.

 2. Deleted fields
 - Category is deleted because since it's a WordCamp video, it will be
 "WordCampTV" by default.

 3. 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.

 4. Fields that wont't show but will get automatically from APIs:
 - Video title: https://geneve.wordcamp.org/2022/wp-
 json/wp/v2/sessions/5221 -> title->rendered
 - Date recorded: https://geneve.wordcamp.org/2022/wp-
 json/wp/v2/sessions/5221 -> date
 - Location: https://central.wordcamp.org/wp-json/wp/v2/wordcamps/3143150
 -> location
 - Speakers: https://geneve.wordcamp.org/2022/wp-json/wp/v2/sessions/5221
 -> session_speakers->name
 - Event: https://central.wordcamp.org/wp-json/wp/v2/wordcamps/3143150 ->
 title->rendered
 - Description: https://geneve.wordcamp.org/2022/wp-
 json/wp/v2/sessions/5221 -> excerpt->rendered (which can be overwritten by
 excerpt or it's the beginning of the content)
 - Slides URL: https://geneve.wordcamp.org/2022/wp-json/wp/v2/sessions/5221
 -> meta->_wcpt_session_slides

 5. 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

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6311#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list