Recent Topics

1 Jul 18, 2009 23:57    

Embedding youtube's standard code is not working for me in 3.x. In preview mode I get a mean, ugly page!

it says:

Notice: Trying to get property of non-object in /home/.debilitate/gragasin/barackobamachronicle.com/inc/skins/_skin.func

Notice: Trying to get property of non-object in /home/.debilitate/gragasin/barackobamachronicle.com/plugins/am_related_posts_plugin/_am_related_posts.plugin.php on line 202

Luckily, when published, the display is normal, except empty--no video. It says "sorry, there is nothing to display".

Using the youtube button works, but I'd prefer not to for control reasons.

related: in 2.x, when I installed the tinymce wizzywig plugin, using object/embed code resulted in an error (obviously I turned it off, i don't like em anyway). In 3.x i have tried with the wizzywig both on and off: object malfunctions both ways.

tia for the support.

PS It seems the second error line results from the related posts plugin. So I should mention that I threw a widget container in the skin (via the sharethis widget directions, which is 2.x). The container works fine tho, and so does the related posts widget, except for the object/embed thing.

2 Jul 19, 2009 01:27

What Is the video your trying to post?

3 Jul 19, 2009 07:57

regular ass youtube videos

4 Jul 19, 2009 08:43

I have no problem with YouTube and also use the Related Posts plugin
I use the YouTube button and hand coded methods to serve validating Videos.

What happens if you disable the Related Posts plugin?

5 Jul 19, 2009 20:28

I tried disabling the widget, removing the container, changing skins. Same thing. I looked at _skin.funcs.php on like 114, but don't know what I should be seeing.

now the post page it prints up some of the guts of the object/embed code. I think this is a step in the rightdirection.

http://vimeo.com/moogaloop.swf?clip_id=5501710&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" />http://vimeo.com/moogaloop.swf?clip_id=5501710&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300">

6 Jul 19, 2009 21:43

I had no problem, b2 3#, with related posts on etc....
using the following

<div class="videoblock"><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5501710&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5501710&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><p><a href="http://vimeo.com/5501710">vice versa</a> from <a href="http://vimeo.com/user2004488">jacques khouri</a> on <a href="http://vimeo.com">Vimeo</a>.</p></div>

line 114 in skin.fincs.php has to do with redirects!!

// Check if the post has 'redirected' status:
			if( $Item->status == 'redirected' && $redir == 'yes' )
			{	// $redir=no here allows to force a 'single post' URL for commenting
				// Redirect to the URL specified in the post:
				$Debuglog->add( 'Redirecting to post URL ['.$Item->url.'].' );
				header_redirect( $Item->url, true );
			}

7 Jul 19, 2009 21:58

mostmodernist_jenny wrote:

Embedding youtube's standard code is not working for me in 3.x. In preview mode I get a mean, ugly page!

What's the actual code that you're putting in your post ?

¥

8 Jul 19, 2009 23:52

it's the same old youtube provided script one uses. I use it all the time for my b2 2.x installation and it works fine. Soon I will try a reinstall and see what happens. here's what i'm putting in the post:


<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

9 Jul 20, 2009 00:12

Seems like it may be your installation. Obama loads and plays nicely.

10 Jul 20, 2009 00:15

I'm guessing it's the <embed> code that's barfing the xhtml checker ( which is skipped in preview ;) ).

Before you point out that Johns snippet also has <embed>, it was shoved in afterwards by the plugin ;)

try making your code look something like this :

<object width="640" height="385" type="application/x-shockwave-flash" data="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" title=" whatever ">
<param name="movie" value="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" />
<a href="http://www.macromedia.com/go/getflashplayer">Macromedia Flash Player (tm) 7 required</a>
</object>

¥

*edit*
John wrote:

Seems like it may be your installation. Obama loads and plays nicely.

Bugger, that kills that guess :p

11 Jul 20, 2009 00:35

@ Yabba, Yep, any which way, the videos work in an actual post, and don't screw with validation at all.

12 Jul 20, 2009 00:45

I'll just play the gmt card and claim that you're miles ahead ;)

¥

13 Jul 20, 2009 00:47

ok, next guess ... do you have auto_links plugin installed?

¥

14 Jul 20, 2009 02:05

¥åßßå wrote:

I'm guessing it's the <embed> code that's barfing the xhtml checker ( which is skipped in preview ;) ).

Before you point out that Johns snippet also has <embed>, it was shoved in afterwards by the plugin ;)

try making your code look something like this :

<object width="640" height="385" type="application/x-shockwave-flash" data="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" title=" whatever ">
<param name="movie" value="http://www.youtube.com/v/jUE77MXuq6g&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" />
<a href="http://www.macromedia.com/go/getflashplayer">Macromedia Flash Player (tm) 7 required</a>
</object>

¥

*edit*
John wrote:

Seems like it may be your installation. Obama loads and plays nicely.

Bugger, that kills that guess :p

!!!

This seems to have malfunctioned less, but the video still doesn't show. In Chrome there are no error reports, in firefox its same as before.

Can I ask what is explicitly different about your version of the object code?

Also, I'm going to proceed with a re-installation and see what transpires.

15 Jul 20, 2009 02:41

¥åßßå wrote:

ok, next guess ... do you have auto_links plugin installed?

¥

not unless it's part of the default installation. is that a good one?

16 Jul 20, 2009 03:31

update: I am a monkey.

testing re-install

18 Jul 20, 2009 04:37

I don't know what it is about your installation but it's rendering the Flash code in a very odd manner. eg.. value="<a href=" etc etc, which should be value="http...."

<object width="640" height="385"><param name="movie" value="<a href="http://www.youtube.com/v/uzc7FlRium8&amp;hl=en&amp;fs=1&amp;rel=0">http://www.youtube.com/v/uzc7FlRium8&amp;hl=en&amp;fs=1&amp;rel=0</a>" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="<a href="http://www.youtube.com/v/uzc7FlRium8&amp;hl=en&amp;fs=1&amp;rel=0">http://www.youtube.com/v/uzc7FlRium8&amp;hl=en&amp;fs=1&amp;rel=0</a>" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

19 Jul 20, 2009 05:07

yeah, its also giving me the _skin_funcs funk, still, from a fresh 3.2 install...

21 Jul 20, 2009 09:05

I'm not exactly sure how, but the situation has resolved itself.

I'll do my best to re-instigate it.

22 Jul 20, 2009 10:37

mostmodernist_jenny wrote:

¥åßßå wrote:

ok, next guess ... do you have auto_links plugin installed?

¥

not unless it's part of the default installation. is that a good one?

It is a default install plugin and in some version of 3.x it caused similar problems to the one that you're having. Can't remember if/when the bug was fixed with it.

¥


Form is loading...