However, the actual embed code should not contain "t=70" but "start=70" when you use the full embed code. You get the correct embed code when you use the "Embed" option rather than just copying the link. If you do that, the video does start correctly at the required time.
This is a problem in YouTube and how YouTube constructs its links.
If you copy the short "Share" link, e.g. https:/ /youtu. be/8kH3t0vbxMA? t=70 Mahara transforms that into the regular iframe code:
<iframe width="560" height="349" src="http:// www.youtube. com/embed/ 8kH3t0vbxMA? t=70" frameborder=0 allowfullscreen mozallowfullscreen webkitallowfull screen> </iframe>
However, the actual embed code should not contain "t=70" but "start=70" when you use the full embed code. You get the correct embed code when you use the "Embed" option rather than just copying the link. If you do that, the video does start correctly at the required time.
Example:
<iframe width="560" height="315" src="https:/ /www.youtube. com/embed/ 8kH3t0vbxMA? start=70" frameborder="0" allow=" accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen ></iframe>
I think what we'll need to do is transform any YouTube link (when it's a URL only and not a full embed code) to re-write "t=XX" into "start=XX".