← Back to team overview

mahara-contributors team mailing list archive

[Bug 1652997] Re: Embedded video with height of "100%" only shows half

 

3. Mahara to recognize percentage and show the full video (within a
predefined block height in that case, e.g. same as the width of the
block?).

** Tags added: snack-sized

-- 
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/1652997

Title:
  Embedded video with height of "100%" only shows half

Status in Mahara:
  Triaged

Bug description:
  https://mahara.org/interaction/forum/topic.php?id=7794

  The video has a height of 100% but only shows half. When I add a px
  height, I get the full video. Does the block not recognize percentages
  correctly?

  <iframe
  src="https://media.xjtlu.edu.cn/player?autostart=n&fullscreen=y&width=0&height=0&videoId=5656&quality=lo&captions=n&chapterId=0";
  frameborder="0" scrolling="no"
  style="position:absolute;top:0;left:0;width:100%;height:100%;"
  allowfullscreen></iframe>

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


References