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

Sources rich medias improvements #26

Merged
merged 2 commits into from
Nov 12, 2017
Merged

Conversation

Betree
Copy link
Member

@Betree Betree commented Nov 9, 2017

Improvements regarding rich medias

  • Using site_name to check website is not recommended. We extract it from website opengraph or <title> anchor and any website can set any value here.
    Also a website like Facebook would always be listed as a video but a Facebook links can also target posts. We need Regexp here.

  • Some players have been disabled. As each one of them loads its little js bundle, it can be heavy if we have too much different players on the same page so we keep only the most popular. We may change this based on usage.

  • Sounds like preloading option in ReactPlayer was about fixing a bug by playing video silently -not what we seek- and anyway it is already set to false by default. However, Facebook do preload (pre-fetch is more accurate) (part of) its content which is a no-go.
    So bye bye Facebook.

  • Fixed player size

selection_029

Not directly linked to rich medias


@NGambini You can add commits to this pull request if you see missing or wrong stuff

Close #4

@Betree Betree requested a review from NGambini November 9, 2017 09:45
@NGambini NGambini merged commit 4f72496 into staging Nov 12, 2017
@Betree Betree deleted the improvement/rich-medias branch November 15, 2017 03:43
steelstyle pushed a commit that referenced this pull request Oct 22, 2020
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.

Embed video sources
2 participants