# Read old saved link forms, send start times as seconds, stop a redirect loop · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/ca091a0b014af10eb432c2369c888b174aa887bb)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: ca091a0b014af10eb432c2369c888b174aa887bb

Requested commit: ca091a0b014af10eb432c2369c888b174aa887bb

Commit: ca091a0b014af10eb432c2369c888b174aa887bb

Tree: b78ae745ae086b68591ba2deb5b1f6cc94697987

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Read old saved link forms, send start times as seconds, stop a redirect loop

- Links the old parser played still play: //youtu.be/<id> and <id>&t=42.
- The start time goes to the embed page as plain seconds. The page turns
  90s into start=NaN, so 1m30s, 90s and the rest are converted here.
- The video view only sends a load to the browser when it is leaving an
  embed that finished loading, so an embed address that redirected would
  not open tabs and reload forever.

```

## Parents

- [8d43bd5935312fa5e163a290e58d64412c975616](https://git.cafe/dara/icarus/commit/8d43bd5935312fa5e163a290e58d64412c975616?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/ca091a0b014af10eb432c2369c888b174aa887bb?format=markdown)
