Thank you for the very useful module.

It works on FF and Safari, but not on IE.

I write [video:]

and I get:

Any thoughts on this?

Thanks on advance,



ivanchaer’s picture

Sorry... the code I put in the post didn't show. Trying it again.

So, the code I got on IE is:

< object class="video-filter video-youtube vf-jyetpwkvju" type="application/x-shockwave-flash" width="442" height="249" data="" >


blackdog’s picture

What version of IE are you using? Is this live somewhere so I can see it?

thompson’s picture

same problem in internet explorer 8 (works perfekt in firefox).

you can have a look here:

thanks for developing this.

ivanchaer’s picture

Hi blackdog,

Thank you for your assistance.

The video is online on:

I tried it on ie7 and 8.
On the status bar, I can see that there is one item remaining that never finishes loading.

ivanchaer’s picture


I managed to make it work by replacing on video_filter.module line 234 the code

$output .= '<object class="' . implode(' ', $classes) . '" type="application/x-shockwave-flash" ';

$output .= 'width="' . $video['width'] . '" height="' . $video['height'] . '" data="' . $video['source'] . '">' . "\n";


$output .= '<!--[if !IE]> -->' . "\n";;
$output .= '<object type="application/x-shockwave-flash" class="' . implode(' ', $classes) . '" width="' . $video['width'] . '" height="' . $video['height'] . '" data="' . $video['source'] . '">' . "\n";
$output .= '<!-- <![endif]-->' . "\n";

$output .= '<!--[if IE]>' . "\n";
$output .= '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
$output .= 'codebase="';
$output .= 'width="' . $video['width'] . '" height="' . $video['height'] . '">' . "\n";
$output .= '<param name="movie" value="' . $video['source'] . '" />' . "\n";
$output .= '<param name="wmode" value="transparent" />' . "\n";
$output .= '<!--><!--dgx-->' . "\n";
$output .= '<param name="loop" value="true" />' . "\n";
$output .= '<param name="menu" value="false" />' . "\n";
$output .= '<param name="wmode" value="transparent" />' . "\n";
$output .= 'Sorry, Flash is not supported by this browser.' . "\n";
$output .= '</object>' . "\n";
$output .= '<!-- <![endif]-->' . "\n";

Hope it helps.
Thank you.

ivanchaer’s picture

Don't forget to clean the caches after changing the file.

thompson’s picture

latest version of the module work for me.

7wonders’s picture

Status: Closed (works as designed) » Active

I had the same problem. It looked like it was related to being set on filtered html. I added <object> and <param> to the allowed html tags and it works perfectly now. Which is nice :)


blackdog’s picture

Status: Active » Closed (works as designed)
7wonders’s picture

Status: Active » Closed (works as designed)

Can you add to the readme that <param> needs to be added to the list of allowed tags when using limit allowed html tags. Hopefully it will save some people a bit of frustration :)

acoustika’s picture

Title: Videos not showing on internet explorer » Videos not showing on internet explorer (64-bit)
Status: Closed (works as designed) » Active

I had this same issue.... Put in the param tag, still no succes.... searching around and the it hit me....
I usually use chrome, and had just hit my explorer ikon.... and I remembered that it was shortcut to IE(64-bit)
And here the videos still doesn't work even with the param parameter turned on..... so i guess this still is something that needs fixing?

blackdog’s picture

Added <param> to README.txt.

Will have to find a Windows machine so I can try IE..

izmeez’s picture


blackdog’s picture

Can someone with a proper Win environment help test this? I need the following info:

HTML Output
IE version (and build mode)
Win version

acoustika’s picture

Well im on a Win vista ultimate machine....
IE 8 Version: 8.0.7600.16385 64-bit edition

My source part from where the video is looks like this (tell if u want more)

<div class="content clearfix">
    <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><object class="video-filter video-youtube vf-u1rofjxhe0" type="application/x-shockwave-flash" width="480" height="295" data=";fs=1">
  <param name="movie" value=";fs=1" /><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /></object>
</p><p>Et eller andet sted er han lidt sej :-)</p></div></div></div><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/tags/matthew" typeof="skos:Concept" property="rdfs:label skos:prefLabel">matthew</a></div><div class="field-item odd"><a href="/tags/mullins" typeof="skos:Concept" property="rdfs:label skos:prefLabel">mullins</a></div><div class="field-item even"><a href="/tags/xma" typeof="skos:Concept" property="rdfs:label skos:prefLabel">xma</a></div></div></div>  </div>

I have alot of modules but since its workin in other browsers i dont think it's those.... Remeber this is only only 64 bit IE, the video works fine on my 32-bit IE

blackdog’s picture

Could you try adding this embed code inside the <object> tag, just before the closing </object> (in video_filter.module):

$output .= '<embed src="' . $video['source'] . '" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="' . $video['width'] . '" height="' .$video['height']. '"></embed>';
acoustika’s picture

Nope that did't seem to do anything..... inserted it like this

foreach ($params as $name => $value) {
    $output .= '  <param name="' . $name . '" value="' . $value . '" />' . "\n";
$output .= '<embed src="' . $video['source'] . '" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="' . $video['width'] . '" height="' .$video['height']. '"></embed>';
  $output .= '</object>' . "\n";

  return $output;
blackdog’s picture

Status: Active » Postponed (maintainer needs more info)

Did you remember to empty your cache?

If this doesn't work, I don't really see what we can do more.. Could be something with your system, the 64bit build or something else.. I'll try to get my Windows environment working, but until then, this is postponed.

izmeez’s picture

I stumbled upon this thread while exploring some video display issues with IE and I'm not sure if my comments will be helpful and not a distraction from this issue.

In comment #8, @7wonders suggests adding <object> and <param> tags to those allowed in the filtered html settings of input formats.

Why is it necessary to add these tags?

What about the order of your filters.

For filtered html, if the HTML filter is at or near the top it removes any disallowed tags from user input as required for security.

If the video filter comes later along with other module related filters the tags are added by the module(s) as needed.

And the html corrector filter would come last.

I can't offer any comments on IE8, but found that on one machine there were problems with display of YouTube videos in IE6 and it turned out Adobe Flash player was installed in Firefox and also needed to be installed in IE6 `:-{

blackdog’s picture

@izmeez - that is correct. I will update the docs.

@acoustika - Maybe Flash isn't available as 64 bit on your computer? Does flash work for other sites in that environment?

acoustika’s picture

Oh yes, You were right about that blackdog..... Installed the beta release of 64 bit flash for IE and now it works.....

blackdog’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Cool! I'm closing this then. Thanks for all input!