Code Monkey home page Code Monkey logo

videojs-vimeo's Introduction

Videojs Vimeo plugin

Videojs Vimeo plugin using the official Vimeo Player API. This is heavily inspired by the official VideoJS YouTube project.

Installation

For now, the package is not published on any package manager — download the dist file or point your package manage at this repo.

Usage

See index.html

MIT. Copyright (c) Jimmy Bourassa [email protected];

videojs-vimeo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kirillpd 303k

videojs-vimeo's Issues

Cannot read property 'getComponent' of undefined

Hey there Im trying to use this in my project and I am getting this error

Uncaught TypeError: Cannot read property 'getComponent' of undefined
    at Object.<anonymous> (videojs-vimeo.js:2069)
    at Object.2.@vimeo/player (videojs-vimeo.js:2349)
    at s (videojs-vimeo.js:7)
    at e (videojs-vimeo.js:7)
    at videojs-vimeo.js:7
    at videojs-vimeo.js:7
    at videojs-vimeo.js:7

I have inserted both the videojs and videovimeo.js at the bottom of my html like so..

<script src="./assets/videojs-vimeo-master/dist/videojs-vimeo.js"></script>
<script src="http://vjs.zencdn.net/6.6.3/video.js"></script>

and In my html I just copied what was used in the example

<video
    id="vid1"
    class="video-js"
    width="640" height="264"
    data-setup='{ "techOrder": ["vimeo"], "sources": [{ "type": "video/vimeo", "src": "https://vimeo.com/248409603"}] }'
 >
</video>

Thanks

Unsupported Media ?

Hi,
any idea why I get an error when trying to use this video :

https://vimeo.com/201170382


video.js:22933 VIDEOJS: ERROR: The "Vimeo" tech is undefined. Skipped browser support check for that tech.

video.js:22933 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this media. 
MediaError

"No compatible source was found for this media."

Best Regards Marc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.