This question may be related to a resolved thread.
Greetings, I believe I am having a similar problem as reported in the above thread. I have a javascript embed that EE does not parse properly. Here is the code from my embed:
{exp:channel:entries channel="home" dynamic="no" disable="categories|member_data|pagination" limit="1"}
// following two lines do not parse correctly
var params = { allowScriptAccess: "always" };
var atts = { id: "video-player-ID" };
...more stuff here…
{/exp:channel:entries}Instead the two vars are rendered without anything inside curly braces, so the code looks like this:
var params = ;
var atts = ;
This causes a Javascript parsing error. So I modified system/expressionengine/config/config.php so it has:
$config[‘debug’] = “1”;
This appears to solve the problem. But, I’m wondering if there are ramifications to this which I should know about. For example performance or security (or other parsing) implications. I’m also wondering if this will still work when I upgrade to a newer version of EE (I’m on 2.2.1 right now). Please let me know.
Thanks,
-NorthK