Skip to content

Commit a2bc50c

Browse files
committed
Fix OEmbed maxwidth/maxheight parameters
1 parent 30fc372 commit a2bc50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent_contents/plugins/oembeditem/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_oembed_params(self, embed_url):
113113
114114
Allow to define the parameters that are passed to the backend to fetch the current URL.
115115
"""
116-
return {"max_width": self.embed_max_width, "max_height": self.embed_max_height}
116+
return {"maxwidth": self.embed_max_width, "maxheight": self.embed_max_height}
117117

118118
def _input_changed(self):
119119
return (

0 commit comments

Comments
 (0)