Comments (3)
Hi there,
If you are implementing this all on the noembed side of things (aka not running an external oEmbed service) you'll probably want to create an HTML template in share/templates/
. Then you can use $self->render($vars)
in the serialize
method. Then you can include any javascript you want in your template.
Here is an example:
render
call: https://github.com/leedo/noembed/blob/master/lib/Noembed/Source/Twitter.pm#L82
template: https://github.com/leedo/noembed/blob/master/share/templates/Twitter.html
I hope that helps!
from noembed.
Hi leedo,
I am using PHP for my web application.
So does that mean I need to git clone the noembed files and then host them on my server?
I believe noembed uses Perl?
from noembed.
Hi again,
If this is your own application, I would suggest just implementing an oEmbed endpoint in your own application. Then adding noemebd support is as simple as something like the Flickr provider.
See here for more details: http://oembed.com/#section1
You would want to implement the rich
type, making sure the html
parameter is defined.
from noembed.
Related Issues (20)
- Invalid flickr results, probably caused by never-refreshed caches
- Codepen error - "codepen.io refused to connect." HOT 5
- is there any way to return an error if youtube video is set as unlisted? HOT 1
- Add support for PeerTube video links HOT 1
- 400 Error for Imgur Links
- Suppor for Azure Blob Storage
- Future of this service HOT 7
- 403 Error for YouTube links HOT 17
- Codepen - 503 Service Temporarily Unavailable
- Add YouTube Channel Embed
- Long cache time and Vimeo thumbnail url change HOT 3
- Youtube embed wrong dimensions
- SSL Certificate Invalid HOT 3
- disregard - please delete
- noembed.com Error code: SSL_ERROR_BAD_CERT_DOMAIN HOT 1
- youtube noembed gives the certificate error issue and also throws 403 forbidden issue
- Cache Max-Age / Expires
- Youtube shorts are not supported HOT 1
- StreamTape Support
- License
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 noembed.