I'm opening a window to display a video player. Because the video player is heavily Javascript dependent I am loading a "page" HTMLFlow object inside the window. I am encountering the following issues with the window:
1. The window is not draggable even though I have canDragReposition = true
2. The HTMLFlow object does not render to the full height of the Window in Firefox, the actual iFrame is rendered about 150-200 pixels high.
3. When the window is closed, the iFrame/HTMLFlow objects are not removed from the DOM. If the video is playing when the window is closed, you can continue to hear the audio.
Please let me know how I can allow dragging of the window and how to ensure the disposal of the iFrame/HTMLFlow objects.
Paul
1. The window is not draggable even though I have canDragReposition = true
2. The HTMLFlow object does not render to the full height of the Window in Firefox, the actual iFrame is rendered about 150-200 pixels high.
3. When the window is closed, the iFrame/HTMLFlow objects are not removed from the DOM. If the video is playing when the window is closed, you can continue to hear the audio.
Please let me know how I can allow dragging of the window and how to ensure the disposal of the iFrame/HTMLFlow objects.
Paul
Code:
function MovePlayerPreview(){
var url = ScreenerEditForm.getValue("url");
var Title = ScreenerEditForm.getValue("title");
var pageURL = "/browse/MovePreviewer.aspx?Screenername=" + Title + "&ScreenerURL=" + url;
isc.Window.create({
title: Title,
left: 20,
top: 20,
width: 550,
height: 550,
// closeClick: function(parms){
// //destroy the iframe and window here
// },
showHeader: true,
canDragReposition: true,
canDragResize: true,
items: [
isc.HTMLFlow.create({
width: "100%",
height: "100%",
contentsType:"page",
contentsURL: pageURL
})
]
});
}
Comment