Hi, I tried reproducing the bug today, but it seems that there is a different issue with the embedded code provided by the user on the forum.
<div style="position:relative;padding-bottom:56%;padding-top:20px;height:0;"><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></div>
After using the code above as an external media source, the generated block on my profile only had an empty iframe:
<div style="padding-bottom:56%;padding-top:20px;height:0;"> <iframe scrolling="no" style="width:100%;height:100%;" allowfullscreen="" frameborder="0"> </iframe> </div>
I tried doing the same thing on the live mahara website, and even removing the <div> tags, but the problem persisted.
May I ask in which files the iframes are validated/edited by mahara before being displayed on the website?
Cheers
Hi, I tried reproducing the bug today, but it seems that there is a different issue with the embedded code provided by the user on the forum.
<div style=" position: relative; padding- bottom: 56%;padding- top:20px; height: 0;"><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> </div>
After using the code above as an external media source, the generated block on my profile only had an empty iframe:
<div style=" padding- bottom: 56%;padding- top:20px; height: 0;"> width:100% ;height: 100%;" allowfullscreen="" frameborder="0">
<iframe scrolling="no" style="
</iframe>
</div>
I tried doing the same thing on the live mahara website, and even removing the <div> tags, but the problem persisted.
May I ask in which files the iframes are validated/edited by mahara before being displayed on the website?
Cheers