Comments (6)
Hi @bnomei and @squareclouds,
I added a new site method called getEmbedData() :
$site->getEmbedData($url);
from kirby-embed.
excellent, works like a charm!
from kirby-embed.
@tristantbg thank you for checking the instagram bug. now that everything works (even tiktok and soundcloud and spotify! everything i need!) i would love to store the field from the frontend, but again, my above problem persists.
do you have any idea on how i could do it? i am a designer with ok coding knowledge, so this is a bit too complex for me, i think.
but..
i saw you have the route
'kirby-embed/get-data'
in your api. can i call it from the frontend using a user that has no panel access? my frontend users have only frontend access
from kirby-embed.
PS: for the time being i am using a workaround. i created my own regular route (not api route) and copied your route code :) i tested it very quickly but i get a response for the media array
from kirby-embed.
@sylvainjule i ran into this feature request as well when trying to migrate a regular url to your embed plugin. being able to request the sync data manually would really be helpful.
from kirby-embed.
@squareclouds thanks so much! :)
from kirby-embed.
Related Issues (19)
- Screenshot HOT 1
- AspectRatio always returns "56.5" HOT 1
- Instagram embed not working HOT 7
- 3.8 compatibility
- Sync failed HOT 1
- Consider Bandcamp-support HOT 5
- Video doesn't synchronize on php 8.2 HOT 1
- autoloader issue when kirby-cms-path and kirby-plugin-path are set HOT 6
- [K4] 4.0 Compatibility HOT 2
- Plugin stopped working at Strato HOT 12
- Sync failed — using apache server on php v 8.3.6 HOT 5
- Sync failed HOT 9
- Twitter won't sync HOT 3
- Sync error when trying to embed private Vimeo video HOT 9
- Preview does not update when used within Structure field
- Youtube privacy consent information as media content HOT 3
- Feature idea: option for a bigger preview HOT 1
- Check for empty embed field HOT 2
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 kirby-embed.