Closed ghost closed 12 years ago
Currently there is no auto-play option. It is definitely something that could be added, assuming youtube supports it.
The autoplay option should work now with this commit: 2e9d276d3d5133e65a3f23a44e7e915f175547c1
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
I think passing through params is ideal, but it will require some refactoring. I'll just add autoplay to vimeo for now.
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.
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.
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.
I've made it so we can define options that should be passed through. So you want title,
byline, and
portrait` parameters passed through to Vimeo?
That's correct. With the changes, I've managed to disable title
, byline
and portrait
.
Thank you for your quick response and actions!
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?
This should be getting pass through now. Thanks!
Great! Thank you too.
How can you set options like autoplay for a video?
This is the URL I'm trying:
//noembed.com/embed?url=http%3A%2F%2Fyoutu.be%2FDT-dxG4WWf4&autoplay=1&callback=?