Had to make JavaScript fixes to get Seesmic plugin to work!
I installed the plugin as described, but no dice. Looked at TechCrunch's code, and they had a bunch of JavaScript includes I didn't, so I added those. Still no dice. But then I got a JavaScript error saying "recorderVersion not defined". Looked at TechCrunch's code.. "http://seesmic.com/Widgets/StandaloneRecorder.swf" was hard coded in instead of the "recorderVersion" in my JavaScript files.
I added these lines to the start of seesmic-wp-plugin.js, and then it worked:
var recorderVersion = "http://seesmic.com/Widgets/StandaloneRecorder.swf";
var playerVersion = "http://seesmic.com/Widgets/StandalonePlayer.swf";
I also had to add these lines to my WordPress header template:
<link href="/wp-content/plugins/seesmic-wp-plugin/seesmic-wp-plugin.css" rel="stylesheet" type="text/css" />
I suspect most people are not as persistent as me. It now works great though, but seems weird I have to do this. I'm using WordPress 2.5.
I added these lines to the start of seesmic-wp-plugin.js, and then it worked:
var recorderVersion = "http://seesmic.com/Widgets/StandaloneRecorder.swf";
var playerVersion = "http://seesmic.com/Widgets/StandalonePlayer.swf";
I also had to add these lines to my WordPress header template:
<link href="/wp-content/plugins/seesmic-wp-plugin/seesmic-wp-plugin.css" rel="stylesheet" type="text/css" />
I suspect most people are not as persistent as me. It now works great though, but seems weird I have to do this. I'm using WordPress 2.5.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?Peter... thanks for the heads up. We will definitely look into this.
-
Inappropriate?It's probably not a fix to the JavaScript issues I raised, but I suspect the plugin might be putting the <link> references in the WordPress 'header' variable which is commonly (but not always) used by the header /template/. I don't use the header variable in my template which might explain that particular part of the problem (and allow this to be explained in the docs).
-
Inappropriate?Just had a look through the PHP code, and yes, it seems like everything is getting added to the wp_head. I went back to my template and added this into the <head></head> section:
<?php wp_head(); ?>
And then it supplies all the correct stuff, and even sets the recorderVersion and playerVersion variables.
So.. not exactly a bug, but it needs to be explained in the documentation or as an FAQ or something. Not everyone uses wp_head() in their templates, or removes it from the standard ones (as I did), because wp_head can often include other stuff we don't want on our pages.
I’m happy
-
Inappropriate?I've added this to the Seesmic Wordpress Plugin wiki page:
"You need to make sure wp_head is being included in your header template in between the HEAD tags, like so: <?php wp_head(); ?> If not, the JavaScript includes will not be defined correctly and you will not be able to record or play videos."
So.. that should, in theory, clear it all up. Thanks! -
1 person says
this solves the problem
-
Inappropriate?I applied those 2 lines at the top, and I was able to FINALLY have a video go through the completion process. Thanks for posting this Peter, and thanks for your help Critter!
I’m excited
-
One more thing, I went back to my original theme, and was still able to record a video, which is great. But, I'm back to the same problem of the video comment button not showing up on the comments page. I know nothing about code and was wondering what I need to put there for the video comment button to appear. (it was showing up on the other theme)
Loading Profile...




