jondlewis
Member
Posted 1 month ago #
I'm creating a custom theme. For some reason, Viper Video Quicktags is not connecting to the JW player. I have JW clicked in settings. What else could I be doing wrong?
A video should be playing here:
http://webpuffs.com/tests/preview/adrianne-and-andy.html
Thanks!
jondlewis
Member
Posted 1 month ago #
Oh yeah, and Youtube does work and I have the hook in the header
<?php wp_head(); ?>
Your theme is loading it's own SWFObject file and it's bad. The Javascript error it's making is breaking the whole site.
jondlewis
Member
Posted 1 month ago #
I removed that and it still doesn't work.
Thanks
jondlewis
Member
Posted 1 month ago #
I also wanted to add that I disabled all the plugins and still nothing. Also my theme has the-content() code in the theme.
(I've been reading up on some of the other posts that you have commented on.) :)
Thanks for your help
Your SWFObject is still throwing an error:
Error: n is null
Source File: http://webpuffs.com/tests/wp-content/themes/weddingfilms/js/swfobject.js
Line: 8
Here it is in your HTML:
<script type='text/javascript' src='http://webpuffs.com/tests/wp-content/themes/weddingfilms/js/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video.flv');
s1.write('preview');
</script>
jondlewis
Member
Posted 1 month ago #
That page uses a different header than the rest of the site, I removed that javascript. All plugins are deactivated except for Viper. Still no videos.
There should be a video on this page, but no video.
http://webpuffs.com/tests/preview/adrianne-and-andy
Thanks again for your help.
jondlewis
Member
Posted 1 month ago #
I tried my theme on a different install of WP. And the videos worked fine. I'm thinking I must of deleted or added a core WP file that is causing the error.
Thanks for all your help!