Can you provide a static example for quick testing
Schizo opened this issue · comments
I wanted to check this project out, but I would like to see a static example to see how it works.
{% video item.video as my_video %}
URL: { "https://vimeo.com/9011932" }
Thumbnail: { "https://i.vimeocdn.com/video/43561837_100x75.webp" }
Backend: {{ my_video.backend }
{% video my_video 'small' %}
{% endvideo %}
Am I missing something here ?
Thanks
Are you saying that the example above does not work or that it should be available in the docs straight away?
The code should use double {{ braces }}
in the template by the way.
I'm using it as posted above and it doesn't work for me. I had them as well with double braces as the original one and had replaced the variables with strings, but that didn't error but didn't show anything as well. So you are saying that the above code should work?
Thanks
You can find examples in the example projects and tests. Please make sure you have checked out the documentation and have the application in INSTALLED_APPS
:)