1

Topic: Media Plugin stripping out 'allowfullscreen'?

Hi,

I'm not sure if this is the correct forum to be posting in, and I'm not sure if this is a bug. I have the following code:

<object bgcolor="#000000" width="480" height="360" allowfullscreen="true">
<param name="wmode" value="opaque"></param>
<param name="quality" value="high"></param>
<param name="movie" value="movie.swf"></param>
<embed bgcolor="#000000" wmode="opaque" src="movie.swf" type="application/x-shockwave-flash" width="480" height="360" allowfullscreen="true" quality="high"></embed>
</object>

I tried inserting the above code into the editor through HTML, but when the 'allowfullscreen' attribute gets stripped out. I have played around with the valid_elements/extended_valid_elements settings, to no avail.

However, the code remains intact if I remove the 'media' plugin (but there's no pretty placeholder, which would be a bigger issue).

I tried doing the same thing on the tinymce demo: http://tinymce.moxiecode.com/example_full.php and I get the same results (allowfullscreen being stripped out).

What am I doing wrong?

Thanks in advance!

2

Re: Media Plugin stripping out 'allowfullscreen'?

NVM forget what I said, that was me being stupid tongue

3

Re: Media Plugin stripping out 'allowfullscreen'?

I'm having this same problem. Did you find a solution?

4

Re: Media Plugin stripping out 'allowfullscreen'?

Helllo,

In your media plugin You will find a code that takes embed tag, parses it's attribute and creates the object tag.
In line 321 (editor_contentes_src.js) u have line
            each(['id', 'name', 'width', 'height', 'bgcolor', 'align', 'flashvars', 'src', 'wmode'], function(na) {
make it

            each(['id', 'name', 'width', 'height', 'bgcolor', 'align', 'flashvars', 'src', 'wmode', 'allowfullscreen','quality'], function(na) {

and everything it will work great