Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use Do Not Track for Vimeo service #31

Merged
merged 1 commit into from
Oct 16, 2022
Merged

feat: Use Do Not Track for Vimeo service #31

merged 1 commit into from
Oct 16, 2022

Conversation

alistair3149
Copy link
Collaborator

From Vimeo:

Setting this parameter to "true" will block the player from tracking any session data, including all cookies and analytics.

https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Player-parameters-overview

@alistair3149 alistair3149 requested a review from octfx October 16, 2022 18:20
@octfx octfx changed the base branch from master to develop October 16, 2022 18:45
@octfx octfx merged commit e504683 into develop Oct 16, 2022
@alistair3149 alistair3149 deleted the patch-vimeo-dnt branch October 17, 2022 18:54
alistair3149 added a commit that referenced this pull request Oct 17, 2022
* feat: Use Do Not Track for Vimeo service (#31)

https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Player-parameters-overview

* Some minor cleanups (#32)

* fix: Do not leak comment tags to HTML

* feat: Clean up z-index hacks

There were a lot of unnessecary z-index rules, cleaning up the DOM should avoid them

* feat: avoid using z-index at all

Since z-index can collide with other elements outside of the embed

* feat: init styles clean up

There should be an init style before consent styles are loaded

* feat: Use data attribute instead of class in HTML

Putting services as class names might run into conflict with other styles on a wiki
For example, the wiki might have another element with the class name youtube
This should help mitigate it

* feat: add Spotify oembed integration

* docs: Add notes on Bilibili and Niconico API

* refactor: Update oembed calls

Add an optional config dict for accessing info endpoint data

Soundcloud Oembed seems fine, tested with https://soundcloud.com/oembed?format=json&url=https://soundcloud.com/turbokevin/turbokevin-chase-the-sun

Co-authored-by: Hannes <[email protected]>

Co-authored-by: Hannes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants