Any option for adding videos onto a site, or is instafeed just for images?
https://github.com/evejweinberg/instafeed.js/commit/e370f7a294f1f0a10de28b49883a7a4faed1a088
It only works for standard_resolution for now, but you can access the video variable in the template (and change width/height):
template: '<a class="animation" href="{{link}}"><video src="{{video}}" width="200" height="200" autoplay loop muted ></video></a>'
Is {{video}} no longer supported? It doesn't seem to be pulling in the links to videos from feeds for me and it's not mentioned in the documentation.
Edit: You can get the link with {{model.videos.low_bandwidth.url}}
@alifeinbinary - is {{model.videos.standard_resolution.url}} or {{model.videos.low_bandwidth.url}} still working for you? I haven't been able to get either to work in my filter function that gets thrown into my template.
@laurelstreng I'm using {{link}}. Check out this Gist to see how I made it work. https://gist.github.com/alifeinbinary/d2738575bdce3358b24016b9f0f84d09
This issue has been automatically marked as stale because it hasn't had new comments in the last 3 months. It will be closed if no further activity occurs. If you still need assistance with this issue, or believe it shouldn't be closed, please respond with a new comment to let us know.
Thank you all for your contributions.
Most helpful comment
https://github.com/evejweinberg/instafeed.js/commit/e370f7a294f1f0a10de28b49883a7a4faed1a088
It only works for
standard_resolutionfor now, but you can access the video variable in the template (and change width/height):template: '<a class="animation" href="{{link}}"><video src="{{video}}" width="200" height="200" autoplay loop muted ></video></a>'