question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Play button don't work for video.js videos when record plugin is not used

See original GitHub issue

Steps to reproduce

Import video.js and videojs-record like this:

    <script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.7.5/video.min.js"></script>
    <script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.5.9/RecordRTC.min.js"></script>
    <script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/webrtc-adapter/7.3.0/adapter.min.js"></script>
    <script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/videojs-record/3.11.0/videojs.record.min.js"></script>

Run video.js without record plugin on some video. Play button doesn’t work for that video.

If video.js record plugin is used somewhere in the code - video.js play button works normally. This is most likely related to this PR: https://github.com/collab-project/videojs-record/pull/442 3.9.0 version doesn’t have this issue.

Error output

No error output

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ignlcommented, May 31, 2020

My scenario would be applying simple videojs on ‘myPlayer’ and removing/not applying videojs with record plugin on ‘myRecorder’. I will try to modify your example to try to reproduce.

0reactions
thijstriemstracommented, May 31, 2020

@ignl I made https://collab-project.github.io/videojs-record/demo/multi.html for this. It’s not working for you? Or is there a different issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Video.js Show play button only when paused - Stack Overflow
I am looking to have the play button display only when the video is paused, and not display whilst the video is playing....
Read more >
Video.js Blog
Before we dive into the software changes, open source doesn't work ... Clicking the playback rate button now opens the menu rather than ......
Read more >
Video.js Options Reference
Determines whether or not the player has controls that the user can interact with. Without controls the only way to start the video...
Read more >
Video.js Blog | Video.js
Make your player yours with the internet's most popular open source video player framework.
Read more >
Troubleshooting - Video.js
Problems with media formats · Choosing a video format · Make sure you are using formats that Video.js can play: · Make sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found