Comments (5)
@migswd you now have the option to override the width and height, see v1.2.5. I'll also be opening an issue / feature where I'll add support to override / set / manage all iframe DOM. attributes to allow overriding of attributes and adding missing / custom attributes as most my issues are managing attributes
THanks for opening an issue and hope this fixes your edgecase
from oembed.
@migswd firstly thanks for submitting an issue.
Now the Param field is used to modify the URL query string not the iframe params. However it seems this isnβt the case for you at all. Do you have cache enabled by chance? The width is normally controlled by CSS HOWEVER I can update the DOM manipulation to support updating the width and height attributes.
from oembed.
Yes I have cache enabled. I switch it off and I see the url with all params now.
So to modify width and height I should use css or do that ?
entry.fieldname.render|replace('width="600"','width="100%"')|raw
That would be great that you update the plugin to take that manipulation in charge yes :)
from oembed.
from oembed.
Hey @reganlawton previously I had two CSS classes on my iFrame that did formatting with. Now, with oEmbed
I'm having trouble figuring out how to add these classes via the API. Is there a way to do this?
from oembed.
Related Issues (20)
- Unable to set a webpage as a valid source URL (fallback to iframe) since v1.3.11 HOT 5
- Does this plugin still work? HOT 10
- Exception thrown with Caching turned on HOT 10
- YouTube embeds just stopped working recently HOT 2
- Required field isn't verified on entry save HOT 7
- Craft 4? HOT 13
- 2.0.0 breaks under Craft 3.7.44 and PHP 7.4.3 HOT 4
- Enabling the cache breaks the plugin under PHP 8.1+ HOT 7
- Serialization of 'DOMDocument' is not allowed HOT 14
- FallbackAdapter is not handled correctly due to #101 fix HOT 5
- Loss of metadata when loading from cache on 2.2.x HOT 2
- Youtube embed stopped working HOT 7
- Error when using entry.field.media.image HOT 15
- oEmbed Stopped Pulling Data HOT 5
- Broken URL notifications not working on Craft 4 HOT 3
- Craft 4 embeds suddenly default to 200px wide iframe HOT 10
- Spotify embeds are only working in local environment HOT 1
- "Please check your URL" bug is back? HOT 20
- Cache tweets HOT 2
- Further changes required for GDPR compliance HOT 4
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.