Git Product home page Git Product logo

getvimeo's Introduction

getVimeo 1.2.0-pl

A simple video retrieval Snippet for MODX Revolution.

Installation

Simply download through MODX Package Management, and install. Also supports installation via 'Git Package Management' Extra: https://github.com/theboxer/Git-Package-Management

Documentation

If you have a bug fix or improvement and would like to submit a Pull Request, please make sure you target the 'develop' branch.

Details

Author: David Pede ([email protected]) (https://twitter.com/davepede)

Copyright: (C) 2017 David Pede. All rights reserved. ([email protected])

Please Note

getVimeo is not associated with or endorsed by Vimeo, LLC.

License

Released under the GNU General Public License; either version 2 of the License, or (at your option) any later version. http://www.gnu.org/licenses/gpl.html

getvimeo's People

Contributors

davidpede avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

getvimeo's Issues

Just upgraded to 2.6.5

Thanks for making such an incredible plugin. I upgraded to 2.6.5 and none of the videos are showing up. I'm getting these errors in the MODX logs:

[2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/cache/includes/elements/modsnippet/2.include.cache.php : 27) getVimeo service class not loaded [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/xpdo/xpdo.class.php : 644) Could not load class: getVimeo from getvimeo. [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/xpdo/xpdo.class.php : 1247) Problem getting service getvimeo, instance of class getVimeo, from path /var/www/orangeburgcountytv.com/public_html/core/components/getvimeo/model/getvimeo/ [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/cache/includes/elements/modsnippet/2.include.cache.php : 27) getVimeo service class not loaded [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/xpdo/xpdo.class.php : 644) Could not load class: getVimeo from getvimeo. [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/xpdo/xpdo.class.php : 1247) Problem getting service getvimeo, instance of class getVimeo, from path /var/www/orangeburgcountytv.com/public_html/core/components/getvimeo/model/getvimeo/ [2018-07-25 16:07:52] (ERROR @ /var/www/orangeburgcountytv.com/public_html/core/cache/includes/elements/modsnippet/2.include.cache.php : 27) getVimeo service class not loaded

Only 20 videos are handled

The vimeo API is limited to 20 videos per "page":

http://developer.vimeo.com/apis/simple

Simple API responses include up to 20 items per page.
By adding the ?page parameter to the URL, you can retrieve up to 3 pages of data. If you need more > than the maximum of 60 items, you must use the Advanced API.

Since the getVimeo snippet does not handle this pagination, video 21 and onward are not shown.

I suggest fetching page 1,2,3 and combine them, and issue a log error warning if the max items are reached.

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.