NUKnightLab / NUKnightLab/TimelineJS3
Add configuration option for preload="none"?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.2k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
This is an enhancement request.
Do you think it would be feasible to make a configuration option that would attach the "preload='none'" attribute to audio and video elements? I have made big timeline for viewing some archived material, and my computer gets really slow once the timeline displays and my browser starts preloading the audio and video links.
I am by no means a JS expert, but I have started studying the code to see if I could make the change, but I thought I might ask here in case this has been on anyone else's mind.
All the best,
Ed
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 tracing where TimelineJS creates audio and video elements and how configuration options are defined. Confirm that the proposed option applies to both media types, then verify that rendered elements use preload="none" without changing other behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100