Hi there,
I'm working on a flash video player plugin as there doesn't seem to be any available that actually work properly, and currently understanding why this is!
I have successfully created a plugin that allows you to insert a flash video, resize it, change the settings, but when it comes to dragging it... it will drag the overlay DIV only to the destination.
The flash video player contains 3 elements on creation, the placeholder, the flash object, and an overlay div for to allow context menu + double click action.
There doesn't seem to be a lot of documentation on FCKEditor, and I can't find any information on setting a parent element or something... ie: to set a reference to the parent element the overlay element resides in.. thus when the overlay element is being dragged, it gets dragged from the parent element instead.
Could someone please provide some information on this, or if they have any other way?
The only other option I had which I've already tried and was not successful with, was to detect if an object is being dragged, if so when it gets to it's destination, replace it with the entire object again.
Also, if I only add the object without the other divs, FCKeditor tends to remove all relevant tags (ie: param, object) leaving only the embed tag when switching to the code view.
I desperately need to know how to fix this because I am now late with delivering this project!
I'm working on a flash video player plugin as there doesn't seem to be any available that actually work properly, and currently understanding why this is!
I have successfully created a plugin that allows you to insert a flash video, resize it, change the settings, but when it comes to dragging it... it will drag the overlay DIV only to the destination.
The flash video player contains 3 elements on creation, the placeholder, the flash object, and an overlay div for to allow context menu + double click action.
There doesn't seem to be a lot of documentation on FCKEditor, and I can't find any information on setting a parent element or something... ie: to set a reference to the parent element the overlay element resides in.. thus when the overlay element is being dragged, it gets dragged from the parent element instead.
Could someone please provide some information on this, or if they have any other way?
The only other option I had which I've already tried and was not successful with, was to detect if an object is being dragged, if so when it gets to it's destination, replace it with the entire object again.
Also, if I only add the object without the other divs, FCKeditor tends to remove all relevant tags (ie: param, object) leaving only the embed tag when switching to the code view.
I desperately need to know how to fix this because I am now late with delivering this project!