Recent Topics

1 Sep 21, 2007 07:30    

My b2evolution Version: 1.10
we need to find a way to ease the use of "Embed" and "Object"

More and more sites are popping out and they all use the Embed and Object tags. Movie previews and TV shows web sites use these tags too.

This plugin would be a quick and dirty way to embed some content (movie, sound, etc) as a one off...

Help!

Related to this post: 12721

2 Sep 21, 2007 15:40

embed is deprecated - regardless of what crappy sites use it.

I can give you 10 ways to display objects without using it, and so can any google search. and guess what, they all display just fine in firefox/ie/safari/etc..

3 Sep 22, 2007 04:41

I would appreciate one or two ways to use the embed or object tags. I really think other b2evo users will appreciate them as well.

The current instructions on post 12721 are a bit long.

have you blogged about any of this stuff?

Thanks Woo.

4 Sep 22, 2007 05:09

<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/lj3iNxZ8Dww">
<param name="movie" value="http://www.youtube.com/v/lj3iNxZ8Dww" />
</object>

is completely valid, and works.

6 Oct 13, 2007 12:37

Does this plug-in work with version 1.10?
How do I install it?
Regards
Sopur

7 Oct 13, 2007 13:13

It will probably work in 1.10, but you can find out for yourself without harming anything.
Download the zip, place the contents in your blog at ../blogs/plugins.
Go to the backoffice -> App setttings -> Plugins -> search for 'Allow Embed' in 'Available plugins' and install.

According to the description:

This plugin let your put the tag embed in your posts. It will allow also the attributes: src, type, quality, scale, salign, wmode and flashvars in the embed tag.

Good luck

8 Oct 15, 2007 08:54

Hello!
So, I tried, but with no luck.

Anybody an idea, how I could post Flash-Movies in 1.10?
Regards
Sopur

9 Oct 15, 2007 19:45

in ../config/_formatting.php

line 45 $use_html_checker = 0;
line 48 $use_security_checker = 0;

but: # WARNING: disabling both $use_html_checker and $use_security_checker is suicidal !

and flash works!

10 Oct 20, 2007 18:45

Thank for your reply.
At the moment, I didn't do it - because of security reasons.
Regards
Sopur

12 Nov 09, 2007 10:44

Hello!
So, today, I needed the embed tag. I now disabled the html checker. What are the risks of this?
Regards
Sopur

13 Nov 09, 2007 17:01

Sopur wrote:

Hello!
So, today, I needed the embed tag. I now disabled the html checker. What are the risks of this?
Regards
Sopur

Hi Sopur,

If you are the only blooger on your blog than the risks are minimal. Enabling the HTML checker has some benefits though.
To disable the html checker, crack open ../blogs/conf/_formatting.php and fine line 41-45 (or about):

# Html checking will validate posts and comments to a subset of valid XHTML.
# This will also do much cleaner security checking than the next option.
# Note: This option requires the PHP XML module. If your PHP installation doesn't have it
# disable html_checker and use security_checker.
$use_html_checker = 1;


and change to:

$use_html_checker = 0;

Good luck

14 Nov 17, 2007 04:20

tried substituting EMBED with the OBJECT example in this post. It is shown to be invalid. I decided to disable html spell checking - no harm will come of this since I'm the only one using the back-end.

15 Nov 18, 2007 12:06

Thank you - I also did it, and it works perfectly!
Regards
Sopur

16 Nov 18, 2007 18:21

Before:


                    <OBJECT id='OBJECT2' width="450" height="350"
                    classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
                    type='application/x-oleobject'>
                        <param name='fileName' value='http://www.aseanmedia.net/Lists/Featured Video/Attachments/1/_c_malaysia festival_512k_stream.wmv'>
                        <param name='autoStart' value='1'>
                        <param name='ShowControls' value='1'>
                        <param name='ShowDisplay' value='0'>
                        <param name='ShowStatusBar' value='0'>

                        <EMBED type='application/x-mplayer2'
                            pluginspage='http://microsoft.com/windows/mediaplayer/ en/download/'
                            id='mediaPlayer' name='mediaPlayer' showcontrols='1' showdisplay='0' showstatusbar='0' 
                            width="450" height="350"
                            src='http://www.aseanmedia.net/Lists/Featured Video/Attachments/1/_c_malaysia festival_512k_stream.wmv' autostart='1'>
                        </EMBED>
                    </OBJECT>

Since the EMBED element has been deprecated by the W3C (http://www.w3c.org) by HTML 4 (if I recall correctly), the use of EMBED to "embed" "objects" has lessen and all browsers since 2006 can render the OBJECT element.

Additionally, many browsers will render both the OBJECT and EMBED elements if you have both, thus you'll have two videos. The problem with the flash-video embeds like from YouTube is that when the idea was materialized, they chose to use the EMBED element for maximum compatibility, since during the alpha stages of such sites, the OBJECT element is not yet widely supported by the browsers. (In reality, the EMBED element is not even supported by all browsers :p )

Using the above example, you can shorten it to just:


                    <OBJECT id='OBJECT2' width="450" height="350"
                    classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
                    type='application/x-oleobject'>
                        <param name='fileName' value='http://www.aseanmedia.net/Lists/Featured Video/Attachments/1/_c_malaysia festival_512k_stream.wmv'>
                        <param name='autoStart' value='1'>
                        <param name='ShowControls' value='1'>
                        <param name='ShowDisplay' value='0'>
                        <param name='ShowStatusBar' value='0'>
                    </OBJECT>

You can see a live sample here: http://asean.gameshogun.ws/12aseanculture/two-new-portals-about-the-asean-identity

Difference though is that I am using b2evo v2.0.x

17 Dec 12, 2007 18:38

Afwas wrote:

Hi Sopur,

If you are the only blooger on your blog than the risks are minimal. Enabling the HTML checker has some benefits though.
To disable the html checker, crack open ../blogs/conf/_formatting.php and fine line 41-45 (or about):

# Html checking will validate posts and comments to a subset of valid XHTML.
# This will also do much cleaner security checking than the next option.
# Note: This option requires the PHP XML module. If your PHP installation doesn't have it
# disable html_checker and use security_checker.
$use_html_checker = 1;


and change to:

$use_html_checker = 0;

Good luck

FANTASTIC! Thank you, I've been looking for a way to do this for ages!! Thanks much!

18 Mar 14, 2008 19:42

whoo wrote:

<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/lj3iNxZ8Dww">
<param name="movie" value="http://www.youtube.com/v/lj3iNxZ8Dww" />
</object>

is completely valid, and works.

Do you embed this in a PHP box??

19 Mar 19, 2008 04:58

just to summarize:

If you trust your bloggers, disabling the $use_html_checker is OK.

Right?

I'm really looking forward to being able to embed objects and movies and stuff...

20 Apr 05, 2008 13:21

hi all
where is $use_html_checker ???
I cannot find it in ../blogs/conf/_formatting.php

I'm using B2evo 2.4.0

Tv

21 Apr 05, 2008 13:29

Hi thanh,

It moved to the Dashboard. Look for Users -> SELECT A USERGROUP -> Blogging permissions. You need to select a group like 'Administrators', not single User.

Good luck


Form is loading...