sarahsporck / Migration-Test-Repository

This repository is used to test the ticket migration from jira to github
0 stars 1 forks source link

IGAPP-258: Embed videos with a video player #1230

Closed jira-to-github-migrator-test[bot] closed 11 months ago

jira-to-github-migrator-test[bot] commented 11 months ago

Daniel Kehne - 6.7.2020, 11:33:02

As a PERSONA, I WANT to, SO_THAT.

As more an more cities are uploading video-links from Vimeo and Youtube to their Integreat-Apps, it would be a nice feature to embed videoplayers in app and web whereever videos are embeded. When the user via app is offline it is enough if it throughs a "connection error" from the video player which should be a standard behaviour i guess.

See the attached screenshot how it could look like.

Because most videos are uploaded to youtube and we have only control of the videos which are uploaded by the city itself, we should support youtube (even if we possibly do not share its values...)

Acceptance Criteria (Successes/Failures):

Environment: - Linked issues:

jira-to-github-migrator-test[bot] commented 11 months ago

Sven Seeberg - 6.1.2021, 16:58:28

As we want to have a WYSIWYG approach, we should IMHO implement this in the CMS. However, the HTML code should be closely coordinated to ensure a good app integration. So I suggest that the app team suggests an HTML snippet that displays nicely within the app and we can then generate this when a user inserts a Youtube link etc.

Max Ammann - 27.1.2021, 15:15:14

Max Ammann - 27.1.2021, 15:17:10

Current example: https://integreat.app/regensburg/de/hallo/begruessung-ob

Daniel Kehne - 15.5.2023, 16:55:42

Just wanted to add some info so that the issue can go on:

We should support vimeo and/or youtube but not CMS video uploads. Ours systems are not eligable for a lot of data which is stored on our servers. The app (web and native) should have any kind of library or framework that can display videos in a videoplayer-view, when the cms handover the data with a specific tag (HTML e.g. or any thing special from the used framework on the app site).

If the <sven.seeberg>-way works of just build a HTML snippet that is used, than we could also go on without using any external services (except youtube/vimeo as data source).

<leandra.hahn> could you take that web-video-player topic to your next weekly?

Leandra Hahn - 1.6.2023, 18:11:34

In theory, we can place a snippet there (with some more work on the app team side). But that would be a little tricky for privacy.

For YouTube, we can replace the url with a www.youtube-nocookie.com which means that YouTube won't set any cookies before a user interacts with the video but will after interaction. So we'd definitely need an actual cookie consent there.

For Vimeo, we can add the parameter ?dnt=1 to the URL and that would actually not set cookies then. It would also mean that the author of the video wouldn't get any statistics so some municipalities might be confused by that but I don't think that's a big issue.

I am inclined to say that we just link to a video and that way don't have to deal with the privacy issues, or maybe only embed Vimeo videos. What do you think?