Should you be able to embed a YouTube video? I post the embed code in a discussion and it just shows up as blank. Does something need to be turned on - or a plugin?
I think you need to allow this in post settings, because from my knowledge html parser strips html code, aside from that allowed using cleditor , standard pst type and new buttonbar.
@zippylistings - I'm not sure it is this what You asking, but to see embed YT videos You just need to set default post format to HTML (in conf/config.php) and put a standard Youtube video URL, not any embed code. Video URL parser is in library/core/class.format.php
@zippylistings - I'm not sure it is this what You asking, but to see embed YT videos You just need to set default post format to HTML (in conf/config.php) and put a standard Youtube video URL, not any embed code. Video URL parser is in library/core/class.format.php
^ this. All you need to do is post the youtube link and it will automatically embed it.
@zippylistings - I'm not sure it is this what You asking, but to see embed YT videos You just need to set default post format to HTML (in conf/config.php) and put a standard Youtube video URL, not any embed code. Video URL parser is in library/core/class.format.php
I'm looking in conf/config.php and don't see anything that says "default post format".
I'm looking in conf/config.php and don't see anything that says "default post format".
A little more help.
This is the config line: $Configuration['Garden']['InputFormatter']
If you don't see that in your config, it defaults to HTML, so the youtube embed should work if all you do is drop the link to the video there (not the embed link, the main link).
I'm looking in conf/config.php and don't see anything that says "default post format".
A little more help.
This is the config line: $Configuration['Garden']['InputFormatter']
If you don't see that in your config, it defaults to HTML, so the youtube embed should work if all you do is drop the link to the video there (not the embed link, the main link).
There must be something else going on. That line doesn't exist in the config.php file and it's still not working. I also tried using the < code ></ code> tags and that does nothing either.
Hmmm. What version of Vanilla are you running? What's the link you're trying to post? Make sure it's the right link; again, it's not the embed link, ignore the YouTube embed feature entirely.
Answers
There was an error rendering this rich post.
A little more help.
$Configuration['Garden']['InputFormatter']
If you don't see that in your config, it defaults to HTML, so the youtube embed should work if all you do is drop the link to the video there (not the embed link, the main link).
< code > http
* remove spaces
@jspautsch the line you mention does not reside in config.php latest version 2.0.18.1
It can be found in config-defaults.php
The line is
$Configuration['Garden']['InputFormatter'] = 'Html';
That is the fefault setting, perhaps someone can explain what this line should be.
There was an error rendering this rich post.