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

Kaltura Videos on Demo Page Won't Play or Seek #1202

Closed
kangaree opened this issue Mar 27, 2021 · 3 comments · Fixed by #1226
Closed

Kaltura Videos on Demo Page Won't Play or Seek #1202

kangaree opened this issue Mar 27, 2021 · 3 comments · Fixed by #1226

Comments

@kangaree
Copy link

kangaree commented Mar 27, 2021

Current Behavior

Kaltura Videos on the Demo Page do not play or seek when using the Play/Pause button or Seek range input.

Perhaps this is related to
#1082 (comment)
?

Videos are playable if you click the Kaltura video or have the video muted before clicking Play (but you cannot Pause).

Expected Behavior

Kaltura Test A and Test B should be able to play or seek.

Steps to Reproduce

  1. Use 2.9.0. which just added Kaltura (https://cookpete.com/react-player/ is 2.6.2).
  2. Run it locally:
git clone https://github.com/CookPete/react-player.git
cd react-player
npm install # or yarn
npm start
open http://localhost:300
  1. Pick any of the Kaltura options- TestA or TestB.
  2. Toggle the Play/Pause button
  3. Click on a point in the Seek range after the beginning of the video

Environment

  • URL attempting to play: http://localhost:3000/
  • Browser: Chrome Version 89.0.4389.90 (Official Build) (x86_64)
  • Operating system: MacOS Catalina

Other Information

Provided demo videos:
https://cdnapisec.kaltura.com/p/2507381/sp/250738100/embedIframeJs/uiconf_id/44372392/partner_id/2507381?iframeembed=true&playerId=kaltura_player_1605622074&entry_id=1_jz404fbl
https://cdnapisec.kaltura.com/p/2507381/sp/250738100/embedIframeJs/uiconf_id/44372392/partner_id/2507381?iframeembed=true&playerId=kaltura_player_1605622336&entry_id=1_i1jmzcn3

If you add allow='encrypted-media;autoplay' to Kaltura.js, the video can be played but not paused.

@kangaree
Copy link
Author

@jessp01
Could you take a look into this if you have a moment?

Can you still use Pause/Play and Seek in the demo app (src/demo/App.js) locally?

Perhaps something changed with the Kaltura media? I can't get Kaltura videos to Pause/Play or Seek using this branch https://github.com/jessp01/react-player/tree/support-kaltura.

I was excited to see Kaltura being added to react-player! Any help would be much appreciated!

Yasamato added a commit to Yasamato/react-player that referenced this issue Apr 30, 2021
@Yasamato
Copy link
Contributor

A month later already, but I think my workaround is working (at least the demo). You may want to try it @kangaree at #1226

cookpete added a commit that referenced this issue Feb 20, 2022
* Adjust listener for kaltura

Fixes #1202 and related to #1082.

* Fix lint

As mentioned in #1225 `findDOMNode` is deprecated.

* Add autoplay to iframe props

* Move code to load method and call it instead

* Update src/players/Kaltura.js

Co-authored-by: Pete Cook <pete@cookpete.com>

* Remove `this.load()` call in `componentDidMount`

Co-authored-by: Pete Cook <pete@cookpete.com>
@cookpete
Copy link
Owner

Fixed in 2.10.0

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 a pull request may close this issue.

3 participants