[wp-trac] [WordPress Trac] #50869: Vimeo oEmbed now has dnt=1 parameter, and causes numerous videos to be simultaneously playable on a page

WordPress Trac noreply at wordpress.org
Thu Aug 6 13:25:19 UTC 2020


#50869: Vimeo oEmbed now has dnt=1 parameter, and causes numerous videos to be
simultaneously playable on a page
------------------------------------+-----------------------------
 Reporter:  freshyjon               |      Owner:  (none)
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Embeds                  |    Version:
 Severity:  normal                  |   Keywords:
  Focuses:  accessibility, privacy  |
------------------------------------+-----------------------------
 This is a follow-up to #41784.


 It seems that Vimeo oEmbed players are now being given a `dnt=1` parameter
 on the Vimeo player’s iframe source URL. This is causing an issue that may
 have been overlooked.

 If there are numerious Vimeo videos embedded on the page, previously (by
 default), Vimeo would only allow one of those video to play at a time. If
 a user played one video — then started playing another video — it would
 then pause the previous video that as playing. Again, this is default
 Vimeo behavior. However, when the Vimeo URL has the parameter of `dnt=1`
 on the URL, it causes that default behavior to be overridden. Therefore,
 it allows the user to play multiple videos at once (which is NOT default
 behavior, and is arguably not very “Accessible friendly”).

 I see that it’s likely that
 https://core.trac.wordpress.org/changeset/41345 is the culprit. Is there a
 filter to override this function, with something in the child theme? If
 not, it seems we’d be forced to either:

 - replace URLs with jQuery
 - embed the Vimeo videos with an iframe code, instead of the oEmbed
 feature

 Ideally, this would be looked in to further, since it now overrides
 default/expected Vimeo behavior. I argue that it should be removed from
 Vimeo URLs, or at least have an option to disable it from oEmbeds.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50869>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list