Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4764

nanoo.tv videos not visible when outer container has no size

    XMLWordPrintable

    Details

    • Funded by:

      Description

      How to reproduce

      • Create a hierarchical HTML structure where the elements do not have any width and heights
      • Somewhere in the middle of that hierarchy place a nanoo.tv video
      • NOK => video does not show up

       

      The same video works well when placed at the root of the document. If the structure of the document makes the next outer element of the video not having dimensions, the current code fails and resizes the nanoo.tv iframe to width=0 and height=0. The solution is to resize the iframe only to fit the outer element when the outer elements has a dimension. 

       

       

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: