Comments (2)
@arentsen you should be about to use .image
no?
from oembed.
That variable did not give me anything. I did find a work around for YouTube. I used:
{% set thumbnail = "https://i.ytimg.com/vi/" ~ youtube_id ~ "/maxresdefault.jpg" %}
<img src="{{ thumbnaill }}">
Then I dumped the media variable {{ dump(entry.field.media.data) }}
and found out that I could use the key thumbnail_url
which did work.
from oembed.
Related Issues (20)
- Cache tweets HOT 2
- Further changes required for GDPR compliance HOT 4
- Video preview very small HOT 2
- Division by zero error in both backend and frontend HOT 4
- ignores time #t=1m12s HOT 4
- Vimeo URLs not working (when video is set to be hidden on Vimeo.com) HOT 1
- Field always renders as if it has content HOT 2
- Field causes template to crash if left blank HOT 3
- Issue when using oEmbed in Vizy block HOT 3
- v3 does not return `.images` and other API data HOT 10
- Additional data missing for media objects HOT 11
- How do we get the media data with the new update? HOT 7
- Looping a video HOT 6
- YT/Vimeo media URL blank after upgrading to 3.x HOT 3
- Google Maps Error: www.google.com refused to connect HOT 1
- Large quantities of embed-cookies-{uid} are being created, but not deleted? HOT 1
- Vimeo URLs not working in any environment HOT 28
- GrapQL - Error when querying an entry with a empty oEmbed URL
- oEmebed resources not loaded in Craft Cloud environment HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oembed.