# fregante/iphone-inline-video

📱 Make videos playable inline on the iPhone (prevents automatic fullscreen)

Repository: https://github.com/fregante/iphone-inline-video
Canonical: https://ross.abutalabs.com/products/iphone-inline-video
Homepage: https://npm.im/iphone-inline-video
Language: JavaScript
License: MIT
License Family: permissive
Topics: iphone, autoplaying-videos, polyfill, playsinline
Archived: true
Last push: 2021-11-20T00:14:21+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3922, "days_push": 1748, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2042, forks 291 (observed 2026-08-28T04:06:08.639347+00:00)

## What it is
A small JavaScript polyfill that makes videos play inline on Safari on iPhone (iOS 8 and 9), preventing automatic fullscreen playback. It is no longer needed since iOS 10 natively supports the playsinline attribute.

## Use cases
- play videos inline on iphone without fullscreen
- autoplay silent videos on ios safari
- use video as webgl or threejs texture on iphone
- support inline video on ios 8 and 9
- play videos with sound on click in mobile safari

## When to choose
- you must support iOS 8 or 9 Safari where playsinline is unavailable
- you need inline or autoplaying silent video on old iPhones

## When to avoid
- you only target iOS 10 or later, which supports playsinline natively
- your audience uses Android or modern browsers

## Facets
- artifact type: library
- maturity: abandoned
- function: video-processing
- domain: web-development, frontend, media
- platform: browser
- tags: iphone, safari, playsinline, video-polyfill, autoplay, polyfill, ios

## Member repositories
- fregante/iphone-inline-video (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.639347+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:58:17.784262+00:00, confidence not recorded.
  - readme: https://github.com/fregante/iphone-inline-video (fetched 2026-08-28T04:06:08.639347+00:00, sha d60c4969c8f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
