Giter Club home page Giter Club logo

jekyll-embedly-client's People

Contributors

robb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jekyll-embedly-client's Issues

Vimeo Player Parameters

I'm trying to use this to embed some vimeo videos in my site with custom player parameters from vimeo. I've added them to to config.yml and added a puts to the file to make sure the URL that's being output is corect according to a forum post I've seen. From what I've seen this should be working, but I'm just getting a regular vimeo video and not a configured one.

Relevant config.yml

embedly:
  api_key: ######################

  vimeo:
    vimeo_color: ff9933
    vimeo_title: 0
    vimeo_byline: 0
    vimeo_portrait: 0

embed.ly url

http://api.embed.ly/1/oembed?key=################&url=https%3A%2F%2Fvimeo.com%2F142537975&vimeo_color=ff9933&vimeo_title=0&vimeo_byline=0&vimeo_portrait=0

I'm kind of lost as to why this isn't working, but I'm new to Ruby and embed.ly so I'm probably missing something. I also tried adding the vimeo parameters to the @@EMBEDLY_PARAMETERS array, but no dice. Any help would be appreciated.

Liquid not correctly seeing new tag

I'm getting an error in my site when using this plugin:

Liquid error: undefined method `[]' for nil:NilClass

Here is my config.yml file parts for the plugin:

embedly:
api_key: my_key_removed_for_security_reasons
vimeo:
width: 500px

Response does not contain HTML

Cool plugin! I tried following your sample with this:

{% embedly  http://soundcloud.com/mightyoaksmusic/rainier, color: 00FFFF %}

But the "resolve" method DID NOT return the HTML key, so I end up with an empty div like this:

<div class="embed link soundcloud"></div>

So, I tried a vimeo embed like this:

{% embedly http://vimeo.com/18150336 %}

And that worked fine by producing this:

<div class="embed video vimeo"><iframe src="http://player.vimeo.com/video/18150336" width="1280" height="720" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>

So....maybe something changed with soundcloud?

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.