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

Multiple providers for video #19

Open
2 of 4 tasks
Betree opened this issue Nov 29, 2018 · 1 comment
Open
2 of 4 tasks

Multiple providers for video #19

Betree opened this issue Nov 29, 2018 · 1 comment
Assignees
Labels
backend Everything for https://github.com/CaptainFact/captain-fact-api complexity > simple Simple tasks (usually a few hours) refactor This is a refactoring task

Comments

@Betree
Copy link
Member

Betree commented Nov 29, 2018

Description

A lot of publishers post their videos on both Facebook and Youtube. We should be able to have multiple URLs for videos.

This could be done by changing videos table to work like that:

youtube_id: string,
facebook_id: string,
vimeo_id: string

When returning from the API, url field should contain a default URL (either youtube or facebook) but also the different provider's ids.

We should also add a {provider}_offset column for each provider that will allow to set different offsets for each provider.

We will keep the legacy provider and provider_id columns until all the projects are migrated.

Progress

  • Frontend
  • Backend
  • Extension
  • Injector
@Betree Betree created this issue from a note in Development roadmap (Milestone 0.9) Nov 29, 2018
@Betree Betree moved this from Milestone 0.9 to In progress in Development roadmap Nov 30, 2018
@Betree Betree added the refactor This is a refactoring task label Dec 8, 2018
@Betree Betree self-assigned this Dec 8, 2018
@Betree Betree added backend Everything for https://github.com/CaptainFact/captain-fact-api complexity > simple Simple tasks (usually a few hours) labels Dec 9, 2018
Development roadmap automation moved this from In progress to Done Dec 19, 2018
@Betree Betree reopened this Dec 20, 2018
Development roadmap automation moved this from Done to In progress Dec 20, 2018
@Betree Betree moved this from In progress to Milestone 1.0 in Development roadmap Dec 20, 2018
@Betree Betree moved this from Medium priority to In progress in Development roadmap Feb 26, 2020
@jibe-b
Copy link

jibe-b commented Oct 15, 2020

This would be very helpful for the (probably low priority) support of PeerTube #147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything for https://github.com/CaptainFact/captain-fact-api complexity > simple Simple tasks (usually a few hours) refactor This is a refactoring task
Projects
Development roadmap
  
In progress
Development

No branches or pull requests

2 participants