NUKnightLab / NUKnightLab/TimelineJS3

How to embed a Facebook public video?

Open
#716 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
3.2k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Hi team!
I want to embed a public video from Facebook but can't get it to display. It does not show me anything and the hmtl is

I clone your code and in your MediaType define
{ type: "facebook", name: "Facebook", match_str: "^(https?:)?\/*(www.)?facebook.com", cls: Facebook }
And in markup

markup = <div class="fb-video" data-href="${this.data.caption}" data-width="500" data-allowfullscreen="true" data-autoplay="true" data-show-captions="true"> </div>

The official documentation recommends (import sdk script) I add it in the index.html and load ok

https://developers.facebook.com/docs/plugins/embedded-video-player?locale=es_ES#configurator

Any solution? Thank you so much

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MediaType definition and index.html, then inspect the Facebook markup shown in the issue alongside Facebook's embedded video documentation. Done means a public Facebook video renders in the timeline instead of displaying nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.