tasianmedia / getYoutube

A simple video retrieval Snippet for MODX Revolution
http://modx.com/extras/package/getyoutube
4 stars 5 forks source link

Load just part of a video #18

Open muzzwood opened 6 years ago

muzzwood commented 6 years ago

It'd be fantastic to have start and stop parameters to allow only part of a video to be loaded. And then looped if possible.

davidpede commented 6 years ago

Not sure what you mean here, could you elaborate or share an example?

muzzwood commented 6 years ago

I mean when a video is loaded, instead of playing from the beginning it would start playing at a specified point. Although after a bit of research I'm not sure the API allows for that. Perhaps only the iframe API allows for it. If so, feel free to close.

davidpede commented 6 years ago

Ah see what you mean. Could add &start=`xx` and &end=`xx` params that would be added to the url placeholders if set. Would be a good feature, will try and add in next release