Comments (7)
"embeded_url":{
"type": "oembed",
"columnType": "string"
}
@arnauddoub for me this worked, but I am stuck with different one
while adding/updating any field in particular collection I am getting this message and not able to save
{"error":{"contentType.attributes.embeded_url.type":["contentType.attributes.embeded_url.type must be one of the following values: media, string, text, richtext, json, enumeration, password, email, integer, biginteger, float, decimal, date, time, datetime, timestamp, boolean, uid, component, dynamiczone"],"contentType.attributes.embeded_url":["contentType.attributes.embeded_url field cannot have keys not specified in the object shape"]}}
any idea? @nicolashmln
from strapi-plugin-oembed.
Oh yeah, I only tried with a SQL database. If you try "columnType": "text"
in your model, does it work?
If so I'll update the readme
from strapi-plugin-oembed.
"columnType": "text" works for postgres.
from strapi-plugin-oembed.
Oh yeah, I only tried with a SQL database. If you try
"columnType": "text"
in your model, does it work?
Getting this error when using MongoDB:
error TypeError: Invalid schema configuration: "Text" is not a valid type at path "oembed".
from strapi-plugin-oembed.
If I use "columnType: "string"
The environment runs but terminal outputs the following:
(node:90880) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
Then when trying to create a new article I get the following on screen:
from strapi-plugin-oembed.
@RobinSJames Which version of strapi do you run? Seems like the columnType
is only supported from the 3.3.4 https://github.com/strapi/strapi/releases/tag/v3.3.4
But I don't know what are the values for MongoDB, maybe String
with a capital S
? If you could do some tests it will be helpful. Thank you
from strapi-plugin-oembed.
something new
from strapi-plugin-oembed.
Related Issues (13)
- Oembed This oembed is not available HOT 3
- Vimeo domain-level privacy HOT 4
- Newbie question HOT 1
- Feature Request: Generic oembed source HOT 1
- Using GUID HOT 3
- Strapi V4 HOT 9
- Failing to install on Strapi 4.6.0 HOT 1
- Feature Request/Question: How can we update the oembed property programmatically? HOT 1
- Feature Request: Admin Panel Preview HOT 1
- Feature request: Accepted source HOT 1
- Add Wikipedia Provider HOT 1
- oEmbed TikTok return Access Denied for thumbnail_url
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 strapi-plugin-oembed.