#7743 closed Bug (fixed)
Chrome: Flash dialog preview does not display when the dialog is positioned over the editing area
Reported by: | James Cunningham | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | 3.0 |
Keywords: | IBM Chrome | Cc: | Damian, Satya Minnekanti, Teresa Monahan |
Description
Steps to reproduce the defect:
- Open the Ajax sample in Chrome.
- Click into the editor & open the Flash Properties dialog.
- Insert the following URL into the URL field http://bytescout.com/files/demo/swfscout_VideoSample.swf
- Click into any of the other fields in the dialog.
Expected: A preview of the flash video can be seen in the preview field in the dialog.
Actual: Only part of the flash video can be seen in the preview field.
Note: The full flash preview can be seen if you drag the dialog so that the preview field is not over the editing area.
Attachments (1)
Change History (8)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | 3.5.3 → 3.0 |
Changed 13 years ago by
comment:2 Changed 13 years ago by
If you insert am URL to image or flash in 'Flash Dialog' you will see that there is no preview or part of preview.
Now grab the dialog and start moving it. You will see that parts of preview that are out side editor's content area are visible (See test.png)
Test URL: http://a.cksource.com/c/1/inc/img/demo-little-red.jpg
comment:5 Changed 13 years ago by
Hi, I found the problem, when creating the flash preview (via javascript in CKEditor) he ends up behind the main editor iframe, this drawing shows the window that inserts the flash down. Even changing 'z-index' can not fix. Here in the company instead of printing the 'embed', create an 'iframe' pointing to a page that creates the 'embed', so it works in Chrome.
before: dialog.preview.setHtml( '<embed height="100%" width="100%" src="'
+ CKEDITOR.tools.htmlEncode( previewPreloader.getAttribute( 'src' ) ) + '" type="application/x-shockwave-flash"></embed>' );
after:
dialog.preview.setHtml('<iframe src="/app/include/ckeditor/plugins/flash/dialogs/preview.asp?src=' + src + '" style="width: 100%; height: 100%"> </iframe>');
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I'm not able to reproduce this issue on any CKEditor version so apparently it was fixed in the Flash plugin.
comment:7 Changed 10 years ago by
I confirm that it is fixed. I wasn't able to reproduce it as well.
Has happened since version 3.0, but prior to version 3.5.1 you have to move the dialog to see the effect.