meniam/ckeditor_oembed_plugin
Composer 安装命令:
composer require meniam/ckeditor_oembed_plugin
包简介
This Plugin allows to insert embedded content (such as photos, videos, audio, and other rich media) via the OEmbed API. You only have to provide the url to the site (It works also when the url is shortened) you want to embed and the plugin does the rest.
README 文档
README
oEmbed Plugin for CKEditor
This Plugin allows to insert embedded content (such as photos, videos, audio, and other rich media) via the OEmbed API. You only have to provide the url to the site (It works also when the url is shortened) you want to embed and the plugin does the rest.
This Plugin uses the jquery-oembed-all Plugin located at https://github.com/starfishmod/jquery-oembed-all.
####Demo
http://w8tcha.github.com/CKEditor-oEmbed-Plugin/
####Currently Supported Sites...
###Video
- Youtube - oembed - YQL
- Blip - oEmbed
- Hulu - oEmbed
- Vimeo - oEmbed
- National film board of Canada - oEmbed
- Qik - oEmbed
- Dotsub - oEmbed
- Clikthrough - oEmbed
- Kino Map - oEmbed
- Funny Or Die - Embedded
- College Humour - Embedded
- Metacafe - Embedded
- embedr - Embedded
- 5min - oEmbed is XML only - using YQL to translate it
- ustream.tv - oEmbed is not JSONP enabled - using YQL to translate it
- viddler - OGP
- twitvid - Embedded
- bambuser - Embedded
- xtranormal - Embedded
- Gametrailers - Embedded
- Vzarr - Embedded
- VHX - oembed
- bambuser - oembed
- dailymotion.com - oembed
- animoto - oembed
- justin.tv - YQL JSON
- livestream - OGP
- scivee - embedded
- veoh - embedded
- minoto-video - oembed using YQL
- TrailerAddict - OGP
- vodpod - oembed YQL - broken as the oembed has absolute positioning which breaks the display
- fora.tv -OGP YQL
- TED - OGP YQL
- Aniboom - embedded
- Comedy Central - OGP
- snotr - embedded
- zapiks - OGP
- youku - embedded
- wistia - Oembed
###Audio
- Soundcloud - oEmbed
- HuffDuffer - oEmbed
- BandCamp - YQL and Embedded
- podomatic - OGP
- rdio.com - oEmbed
- hark.com - OGP
- chirb.it - YQL and oembed
- official.fm - YQL and oembed
- mixcloud - YQL and oembed
- shoudio - oembed
- audioboo.fm - OGP
- Spotify - OGP YQL
###Photo
- flickr - oEmbed
- photobucket - oEmbed
- instagram - oEmbed
- yfrog - oEmbed
- 23HQ - oEmbed
- Smugmug - oEmbed
- twitpic - OGP YQL
- 500px.com - OGP
- visual.ly - YQL Lookup
- img.ly - Thumbnail view
- imgur.com - Thumbnail view
- twitgoo.com - Thumbnail view
- gravatar - Thumbnail view when using mailto
- pintrest - YQL - Embedded view of a sort.
- circuitlab - image view
- skitch - YQL oembed
- graphic.ly - OGP
- dribble - jsonp lookup
- Lockerz - YQL lookup
- AsciiArtFarts - YQL Lookup
- lego cusoo - OGP over YQL
- plannary - OGP over YQL
- propic - OGP
- avairy.com - OGP
- lomography - ogp
- weheartit - ogp
- glogster - ogp
- chart.ly - embedded
- twitrpix - OGP
- chictopia - OGP
###Rich
- Meetup - oEmbed
- gigapans - Embedded
- Slideshare - oEmbed
- ebay - Embedded
- scribd - Embedded
- screenr - Embedded
- tumblr- JSONP lookup
- imdb - JSONP lookup via imdbapi.com
- wikipedia- JSONP lookup
- github- JSONP lookup (CSS)
- eventful - OGP
- myspace - OGP
- live Journal - JSONP Lookup (CSS)
- wordpress - oEmbed (wordpress.com, wp.me, blogs.cnn.com, techcrunch.com). I can add other wordpress sites as well.
- circuitbee -Embedded
- stack overflow - JSONP Lookup (CSS)
- Facebook - JSONP Lookup (CSS)
- Pastebin - Embedded
- Pastie - YQL lookup
- kickstarter - Embedded
- issuu - OGP
- reelapp.com - Embedded
- Etsy - OGP over YQL
- Amazon - Embedded - Requires Affiliate code
- linkedin - Embedded IFRAME - found a link that works :)
- Lanyrd - YQL (CSS)
- twitter - Oembed - status only - but that is ok I think
- github gist - oembed
- speakerdeck - yql oembed
- dipity - yql oembed
- dailymile - oembed
- deviantart - oembed
- Roomshare Japan - oembed
- mobypictures - oembed
- prezi - embedded
- popplet - embedded
- authorstream - OGP
- googlecalendar - Iframe
- cacoo - oembed
- pearltrees - embedded
- urtak - oembed - is broken in iframe return atm -seems to be an embed.ly issue??
- jotform - embedded
- Urban Dictionary - YQL lookup
- Ars Technica - YQL Lookup
- Eventbrite - OGP YQL
- last.fm OGP YQL
- Rotten Tomatoes - OGP YQL
- iFixit - OGP
- qwiki - OGP
- brighttalk - Meta info
- tinychat - OGP
- tourwrist - embedded
- bnter - OGP
- bigthink - OGP
- wirewax - OGP
- whosay - OGP
- timetoast - embedded
- tripline - OGP
- jsfiddle - embedded
####License
Licensed under the terms of the MIT License.
####Dependencies This Plugin requires the following plugins to work: Widget, Dialog.
####Installation
- Before you can use the plugin you also need to download & install the widget plugin, if you have it not installed. http://ckeditor.com/addon/widget
- Extract the contents of the file into the "plugins" folder of CKEditor.
- In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'oembed,widget';
2a. Additionally you can also set the default values vor the Max. Width/Height Values
config.oembed_maxWidth = '560'; config.oembed_maxHeight = '315';
and also you can define an css class for the embeded content wrapper (div), by default there is no Class defined
config.oembed_WrapperClass = 'embededContent';
- and also include the plugin in the toolbar
toolbar :[ ... ['oembed']...]
meniam/ckeditor_oembed_plugin 适用场景与选型建议
meniam/ckeditor_oembed_plugin 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 3.63k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 04 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「media」 「image」 「plugin」 「audio」 「CKEditor」 「video」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 meniam/ckeditor_oembed_plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 meniam/ckeditor_oembed_plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 meniam/ckeditor_oembed_plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Simple Sharing generates social media share links within CP entry pages, allowing you to quickly & easily share entries.
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
The Yii2 extension uses jQuery PrettyPhoto and OwlCarousel js and makes image galary from php array of structure defined.
Laravel Media Popup to upload/view the files
统计信息
- 总下载量: 3.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-17