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

Uncaught Error: Illegal component,"Vimeo"; techs must be registered using Tech.registerTech(), videoJs version 7.11.1 #153

Closed
NavinAT opened this issue Jan 7, 2021 · 2 comments

Comments

@NavinAT
Copy link

NavinAT commented Jan 7, 2021

I am using latest version of videojs, and version 3.0.0 for videojs-vimeo.js.

YouTube player is working fine but for vimeo getting an issue.
Please suggest a solution.

image

Here is my code:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Page Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="css/video-js.min.css" rel="stylesheet">
</head>
<body>
        <video
        id="vid1"
        class="video-js"
        controls
        autoplay
        width="640" height="264"
        data-setup='{ "techOrder": ["vimeo"], "sources": [{ "type": "video/vimeo", 
        "src": "https://vimeo.com/489413297"}], "vimeo": { "color": "#fbc51b"} }'
      >
      </video>
    <script src="script/video.min.js"></script>
    <script src="Vimeo/videojs-vimeo.js"></script>
</body>
</html>
@NavinAT
Copy link
Author

NavinAT commented Jan 8, 2021

I got to see the same closed issue #122

Done the changes which are mentioned in the above closed issue.

But getting another console error:

videojs-vimeo.js:194 Uncaught ReferenceError: volume is not defined
at Vimeo.setVolume (videojs-vimeo.js:194)
at video.min.js:19
at l. (video.min.js:19)
at l.e.ready (video.min.js:12)
at l.e.techCall_ (video.min.js:19)
at l.e.handleTechReady_ (video.min.js:19)
at Vimeo.e.ready (video.min.js:12)
at l.e.loadTech_ (video.min.js:19)
at l.e.src_ (video.min.js:19)
at video.min.js:19

Please Suggest a solution.

@NavinAT
Copy link
Author

NavinAT commented Jan 11, 2021

Created a separate issue for 'volume is not defined' error.

#154

@NavinAT NavinAT closed this as completed Jan 11, 2021
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

No branches or pull requests

1 participant