kolibri
kolibri copied to clipboard
Hyperlinked video content not playing within HTML5 resource
Observed behavior
Embedded video content plays fine as can be seen in slide 8 of this resource.
However, hyperlinked videos are not "clickable" but open fine in new tab with Ctrl+Click or link copy+open in new tab. A hyperlinked video is accessible from the Resources
button at top of this resource.
Have tried with target = blank, top, parent, self, the result remains the same.
The workaround works in Firefox and Chrome but not in Edge.
May be it is a security safeguard but am not sure.
Expected behavior
The links should be clickable directly from within the HTML5 resource as it works when we download and interact with the resource.
User-facing consequences
Pedagogical flow slows down with a slightly degraded experience when they have to Ctrl+click or copy-paste link and open in new tab.
Errors and logs
Nothing that I could spot in the browser console.
Steps to reproduce
- Import the contents referenced above from the channel with token
jafal-zovuk
- Check the experience in all browsers.
Context
- Kolibri version : 0.12.2
- Operating system : Any
- Browser : Works with a workaround - Chrome, Firefox ; Doesn't work at all in Edge.
@intelliant01 Could you provide the name of the resource you linked to? Or Invite me to the channel: [email protected]
?
@bjester Sorry, had missed your request. Have invited you now.
@intelliant01 Thank you for getting back to me. We're able to reproduce this issue with links that have a target
attribute defined. Those links' behavior is disabled in the sandboxed HTML5 resource.
@bjester Sorry, it is not clear to me if this behaviour related to target
attribute in the sandboxed resource will be changed or is this a wontfix
case?
Hi @intelliant01 - we are looking at how to handle links that have a target attribute, so this will be fixed in the future, but not in the scope of 0.12.x.
@rtibbles the clarity is much appreciated. Thanks.
@radinamatic I can't replicate the original issue as it's no longer which is the resource in question but a similar issue is observed when attempting to open a link from the 'Document with links' resource in the QA Channel...