Giter Site home page Giter Site logo

Options about noembed HOT 12 CLOSED

leedo avatar leedo commented on June 24, 2024
Options

from noembed.

Comments (12)

leedo avatar leedo commented on June 24, 2024

Currently there is no auto-play option. It is definitely something that could be added, assuming youtube supports it.

from noembed.

leedo avatar leedo commented on June 24, 2024

The autoplay option should work now with this commit: 2e9d276

from noembed.

 avatar commented on June 24, 2024

Thanks!

Can you also enable it for Vimeo?

I am thinking, wouldn't it be more convenient to just pass through any query parameters passed to the original, encoded URL?

Like:

http://vimeo.com/34896859?autoplay=1 encoded becomes: //noembed.com/embed?url=http%3A%2F%2Fvimeo.com%2F34896859%3Fautoplay%3D1&callback=? for Noembed.

This in accordance with the official Vimeo noembed API too, I guess: http://vimeo.com/api/docs/oEmbed

from noembed.

leedo avatar leedo commented on June 24, 2024

I think passing through params is ideal, but it will require some refactoring. I'll just add autoplay to vimeo for now.

from noembed.

leedo avatar leedo commented on June 24, 2024

I've added the autoplay param to Vimeo.

After more thought I don't think passing through all params makes sense, especially for non-oembed enabled sites. My plan is to add an option for sources (e.g. Vimeo) to define a list of params that will be passed through.

from noembed.

 avatar commented on June 24, 2024

Any news on this?

I want to remove the title and portrait of a Vimeo video because the title is already in the markup above the video.

from noembed.

 avatar commented on June 24, 2024

Any news on this?

I want to remove the title, byline and portrait of a Vimeo video because the title is already in the markup above the video.

from noembed.

leedo avatar leedo commented on June 24, 2024

I've made it so we can define options that should be passed through. So you want title,byline, andportrait` parameters passed through to Vimeo?

from noembed.

 avatar commented on June 24, 2024

That's correct. With the changes, I've managed to disable title, byline and portrait.

Thank you for your quick response and actions!

from noembed.

 avatar commented on June 24, 2024

While using the Vimeo player API, I've noticed that the player_id parameter doesn't get passed through. Could this one be enabled too?

from noembed.

leedo avatar leedo commented on June 24, 2024

This should be getting pass through now. Thanks!

from noembed.

 avatar commented on June 24, 2024

Great! Thank you too.

from noembed.

Related Issues (20)

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.