-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video plugin #694
base: master
Are you sure you want to change the base?
Video plugin #694
Conversation
src/lib/defaultOptions.js
Outdated
* | ||
* @type {string} | ||
*/ | ||
facebookParameters: 'width="560" height="315"' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space at the end of the string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
Does this depend on a different PR? |
OK, got it. Wrong interpretation |
div = document.createElement('div'); | ||
label = document.createElement('label'); | ||
label.setAttribute('for', 'link'); | ||
label.textContent = editor._('Video URL:'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on #686 and #687
The plugin removes youtube command and adds a new "video" command that will recognize which video tag should be used based on the provided URL.
Current implementation includes YouTube and Facebook videos processing.
Youtube bbcode formater is used from the based code, which is based on the #687 PR in order to use the configuration parameters. I could move it to the plugin as well if you decide to move the youtube logic out of the base code.
Material and Monocons youtube icon is used as movie icon. Famfamfam new icon was added.
Movie icon is placed after the picture icon, which makes more sense than current youtube button location.