NUKnightLab / NUKnightLab/TimelineJS3
How to embed a Facebook public video?
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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