NUKnightLab / NUKnightLab/TimelineJS3

Add configuration option for preload="none"?

Open
#444 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.