Shape 5

Wordpress Club Themes => Basics - Club => : airk September 12, 2011, 01:59:00 PM



: Cannot insert video player into post...
: airk September 12, 2011, 01:59:00 PM
I tried two - WP YouTube Player and JW Player. I also tried to put player's HTML into post:

:
<object style="width:425px; height:344px;">
<param name=movie value="http://www.youtube.com/v/2MhYdNVVz0Q?version=3"/>
<param name=allowScriptAccess value=always />

<param name=wmode value=window />
<embed src="http://www.youtube.com/v/2MhYdNVVz0Q?version=3" type="application/x-shockwave-flash" allowfullscreen=true allowscriptaccess=always wmode=window width=425 height=344></object>

Themes just ignores it altogether - there is no even code on the displayed page


thnx!


: Re: Cannot insert video player into post...
: Tristan Rineer September 12, 2011, 02:01:33 PM
Can you provide a link to the site where the problem is occurring?


: Re: Cannot insert video player into post...
: airk September 12, 2011, 04:25:13 PM
Here:

http://johnny-depp-movies.com/category/juhnny-depp-videos/

The only active plugins are: Flexi Pages Widget, S5 Image And Content Fader, Widget Context and WP YouTube Player.

There is also new problem - for some reason the post area become full screen wide, I disabled all content on the page, except "Shape5 Image & Content Fader".

Update: Well, apparently post area becomes wide, if elements in Top(1-5) has no Title


: Re: Cannot insert video player into post...
: Tristan Rineer September 13, 2011, 01:08:44 PM
If you PM me FTP and login information for your site, I can add a couple recent code modifications that should take care of the no title issue, and I'll take a closer look at the video issue to see if it's a WP problem that's making the video not work, or if it's theme or fader related.

WARNING!: Do Not post site login details on an open board, always send through PM.


: Re: Cannot insert video player into post...
: airk September 13, 2011, 04:12:33 PM
Thanks for fixing title issue. You can send me code changes, if you'd like. I can merge them myself.

About players:
I should take my words back about JW Player - it does work.
WP Youtube Player still doesn't work, but I don't really care anymore :)

I think the contributing factor might be the order in which some of the plugins enabled/disabled.
Actually, I have one more bugs for you :) It's not critical for me, so it's up to you, but still: 
S5 fader has an issue with prototype.js: if fader is enabled it breaks Event.observer.logic "Event.observe is not a function"   
I see it in wp-o-matic plugin's settings


: Re: Cannot insert video player into post...
: Tristan Rineer September 14, 2011, 01:30:34 PM
After double-checking my code to see if I had already implemented the ability to do a "notitle" option, it looks like all you need to do is edit "{themedir}/s5_admin/opts_list.xml" and add
:
	<color>notitle</color>
inside the "colors" tag.  That should add a "notitle" option to the widget styles dropdown; just select the new option for any widgets that you want unstyled.

As for the JS conflict, the problem is that the fader runs on the MooTools JS library which doesn't always play nice with Prototype.

I will be working on updating the fader to a "no conflict" version of MooTools as soon as I've finished some of the other projects that I'm in the middle of.