FLUID-5052: UIO Integrators shouldn't have to edit Infusion's copy of the iFrame html to reference MyInfusion.js

Metadata

Source
FLUID-5052
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Anastasia Cheetham
Created
2013-06-13T13:20:16.603-0400
Updated
2024-07-22T14:42:35.115-0400
Versions
  1. 1.5
Fixed Versions
N/A
Component
  1. Prefs Framework
  2. UI Options

Description

Currently, integrators of UIO (such as the VideoPlayer) usually have to edit the header of the iFrame HTML to remove the references to the individual JS files and replace it with a reference to the MyInfusion.js file.

The re-writing is not necessarily unreasonable, but our current practice is to actually re-write the copy that lives in the integration's lib/infusion folder.

A better approach would be to copy the file, edit the copy, and tell UIO where to find the edited copy through a demands block, the same way the VideoPlayer adds panels currently. This is technically possible right now, but the integrator needs to know about the "iFrameRenderer", which seems unreasonable. Can we make it a little bit easier for the integrator?

Comments

  • Anastasia Cheetham commented 2013-06-13T13:38:18.648-0400

    This issue is very closely related to FLUID-4394, but I wonder about use cases where the integrator's path to MyInfusion.js might not be what an automatic head rewrite script would assume. We might still want to consider allowing integrators to override the file path altogether.

  • Justin Obara commented 2024-07-22T14:42:13.240-0400

    iframew was remove with work on FLUID-6749