learningequality / learningequality/kolibri
Hyperlinked video content not playing within HTML5 resource
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 972
- Avg merge
- 7d 16h
- Merged PRs (30d)
- 33
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by importing the channel contents with token jafal-zovuk and reproducing the linked-video behavior in Edge, Chrome, and Firefox. Inspect how links are handled inside the HTML5 resource and compare direct clicking with Ctrl+Click. Done means hyperlinked videos open directly in Edge as they do in the downloaded resource and other browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100