cityofaustin / techstack

Project management for the City of Austin's new digital service delivery platform, Austin.gov.
11 stars 3 forks source link

UX for video embed links #3486

Open srigdon opened 4 years ago

srigdon commented 4 years ago

Rewriting this issue. After some digging, @briaguya found that he was able to troubleshoot on staging with a no-code solution.

In short: the URLs you used pointed to the video at the playlist URL, and Wagtail's video embed gets confused whenever you point to any sort of playlist.

This is definitely a user experience we can/should improve for the future.

Temporary solution

For now, always use the link from the "share" modal on YouTube image


Background

Describe the bug

When I look at the preview page for "Know your rights," the four different video embeds display correctly on the page editor in Joplin. On Janis, though, the only video that shows up in all four of the embeds is the first one.

This page has not yet been approved for publishing, so if we want to see whether the error also displays on a live page, let's not not do it in production.

URL

Preview page: https://alpha.austin.gov/en/preview/information/UGFnZVJldmlzaW9uTm9kZToyMzY3 Joplin page: https://joplin.herokuapp.com/admin/pages/265/edit/#tab-content

To Reproduce

Steps to reproduce the behavior example:

  1. Go to 'https://alpha.austin.gov/en/preview/information/UGFnZVJldmlzaW9uTm9kZToyMzY3'
  2. Log into Joplin and compare with the page editor: https://joplin.herokuapp.com/admin/pages/265/edit/#tab-content
  3. Check links in Joplin. 🤔

Current behavior

See above

Expected behavior

I expect the video embeds to look the same in Joplin as on the preview page on Janis.

Screenshots

Joplin page editor: Screen Shot 2019-11-25 at 3.23.01 PM.pngScreen Shot 2019-11-25 at 3.23.09 PM.png

Janis preview page: Screen Shot 2019-11-25 at 3.23.19 PM.pngScreen Shot 2019-11-25 at 3.23.27 PM.png

Device and browser

Firefox 70, Macbook air

Additional context

Doesn't look good with stakeholders who review and approve the page so we can publish it.

desigonz commented 4 years ago

This is happening when I publish on staging, as well https://janis.austintexas.io/en/health-safety/police-oversight-2/police-feedback-and-records/know-your-rights-test/ image