← Back to team overview

mahara-contributors team mailing list archive

[Bug 1393460] Re: Blocktype external media: Integrate Width and Height Parameter also into iframe-embed codes

 

Hm... that wouldn't be *too* tricky. Just slap some javascript on that
text field, and make it enable/disable the width & height fields.

Not trivial, but not huge either.

** Tags added: externalmedia iframes usability

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1393460

Title:
  Blocktype external media: Integrate Width and Height Parameter also
  into iframe-embed codes

Status in Mahara ePortfolio:
  Triaged

Bug description:
  On the Mahara Barcamp 2014 we talked about the Interface of the "External media" blocktype and found the height- and width-fields confusing for sources that are added via iframe code. 
  It would be nice to have those values also applied to the iframe-sources or at least disable the fields, if an iframe code is detected. 

  Technically, this might be a bit tricky to make it work for all
  possible iframe codes:

  - the width and height can be set as a CSS-style or as html-attribute
  - the CSS-style can be interrupted by a comment

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1393460/+subscriptions


References