[wp-trac] [WordPress Trac] #40808: Media Widgets: VideoPress Uploads Not Functioning Correctly

WordPress Trac noreply at wordpress.org
Thu May 18 21:01:33 UTC 2017


#40808: Media Widgets: VideoPress Uploads Not Functioning Correctly
----------------------------+-----------------------------------------
 Reporter:  timmydcrawford  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.8
Component:  Widgets         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  javascript, administration
----------------------------+-----------------------------------------

Comment (by timmydcrawford):

 Replying to [comment:1 westonruter]:
 > Another piece to consider is the error message when providing a embed
 URL. Let's say you try to add a video by supplying the oEmbed URL itself:
 https://videopress.com/v/OAVHZIvv This then should not be rejected. In
 order to do that we should be exporting all of the
 `\WP_oEmbed::$providers` to the client so that we can check against them
 instead of statically only looking for YouTube or Vimeo as we do with
 hard-coding right now.

 Could we instead rely upon {{{oembed/proxy}}} to validate this for us?  If
 the url doesn't contain an extension, just use the new endpoint and see if
 it gets a valid response back - which utilizes the whitelist itself.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40808#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list