Giter Site home page Giter Site logo

wpdevelopers / embedpress Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 7.0 63.86 MB

EmbedPress expands the default WordPress embed options and allows you to embed media from over 75 sites.

Home Page: https://wordpress.org/plugins/embedpress/

PHP 22.93% CSS 7.69% HTML 1.22% JavaScript 37.92% SCSS 1.02% Shell 0.01% Fluent 29.22%
embedded-media

embedpress's People

Contributors

akashmdiu avatar alimuzzaman avatar andergmartins avatar asif2bd avatar deenison avatar htmgarcia avatar irojabkhan avatar kamalahmed avatar manzurahammed avatar nahidhasantushar1 avatar nicksavov avatar priyomukul avatar rupok avatar sapanmozammel avatar thalidzhokov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

embedpress's Issues

If Preview in Admin is disabled, a JS error deny us to copy and paste

{quote}post.php?post=52&action=edit:1912 Uncaught ReferenceError: EmbedPress is not defined
at Object.paste_preprocess (post.php?post=52&action=edit:1912)
at o. (plugin.min.js?wp-mce-4603-20170530:1)
at b.e [as fire] (tinymce.min.js?ver=4603-20170530:10)
at o.fire (tinymce.min.js?ver=4603-20170530:10)
at k (plugin.min.js?wp-mce-4603-20170530:1)
at a (plugin.min.js?wp-mce-4603-20170530:1)
at o. (plugin.min.js?wp-mce-4603-20170530:1)
at b.e [as fire] (tinymce.min.js?ver=4603-20170530:10)
at o.fire (tinymce.min.js?ver=4603-20170530:10)
at o.h (tinymce.min.js?ver=4603-20170530:11)
paste_preprocess @ post.php?post=52&action=edit:1912
(anonymous) @ plugin.min.js?wp-mce-4603-20170530:1
e @ tinymce.min.js?ver=4603-20170530:10
fire @ tinymce.min.js?ver=4603-20170530:10
k @ plugin.min.js?wp-mce-4603-20170530:1
a @ plugin.min.js?wp-mce-4603-20170530:1
(anonymous) @ plugin.min.js?wp-mce-4603-20170530:1
e @ tinymce.min.js?ver=4603-20170530:10
fire @ tinymce.min.js?ver=4603-20170530:10
h @ tinymce.min.js?ver=4603-20170530:11
a @ tinymce.min.js?ver=4603-20170530:2
p @ tinymce.min.js?ver=4603-20170530:2{quote}

Support ticket

https://secure.helpscout.net/conversation/452256136/58469?folderId=898239

White-space is being stripped out after paste on the editor

https://secure.helpscout.net/conversation/296730998/44339/?folderId=898239

{quote}All the text becomes one continuous blob without any paragraph spaces. I get this behaviour in Firefox 47.0 and Chrome 45.0. I copied the text from a pure text editor (GEdit) on LinuxMint 18, 64-bit. When I disable the plugin, the text pastes correctly with paragraph spaces both in Visual and Text mode. Even when I run tests using a web server on my local computer, the same thing happens in both browsers. The problem is there both on the localhost server and online server.{quote}

Any text you paste is wrapped by a P tag

If you paste any text (not only urls) it will be wrapped by a P tag. This is only good for when the text has some supported URL. If it doesn't, just need to paste the text without the wrapper.

Double check how much we can keep tied to the WP embed system

We should try avoiding disable the whole embed system and try to work together.
Hope to reduce the custom code and keep compatible with future updates in WP as well as with 3rd party plugins.

Related Links

Notices with debug enabled

In wp-config.php from the WordPress site, change WP_DEBUG to "true":

define('WP_DEBUG', true);

By having EmbedPress activated, the below notices come up:

{quote}Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wp-includes/functions.php on line 4136

Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wp-includes/functions.php on line 4136

Notice: add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 3828{quote}

Fix edocr support

Support ticket:

https://secure.helpscout.net/conversation/359653310/50580/?folderId=898239

Details

bq. You stopped supporting the edocr embed feature in 2016. The reason is that we changed the API after taking over edocr to make the embed feature much better. Click 'Embed' on the top right in Orange Button on any page view,
bq. https://www.edocr.com/v/dzzpgq4d/edocr/embeddable-viewer (choice of viewer types)
bq.
bq. or directly through our wordpress plugin: https://www.edocr.com/v/vdnx3kn8/edocr/edocr-wordpress-plugin
bq. https://wordpress.org/plugins/edocr-document-viewer/
bq.
bq. Let me know if I can be of further assistance.
bq.
bq. Your name * Jack Berlin
bq. Your e-mail address * [email protected]
bq.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.