A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
react
audio
player
youtube
vimeo
twitch
facebook
video
hls
soundcloud
media
dash
dailymotion
streamable
wistia
-
Updated
Apr 6, 2022 - JavaScript
How to make facebook play () and pause () methods work right after source is loaded.
I have hung the play () and pause () methods on the buttons. But immediately after loading the page, they do not work and only start working after I click on the controls on the video itself.
Here's a test case:
https://codepen.io/abvas/pen/QWqxBmZ?editors=1010
This only happens with facebook, with othe