PHPackages                             innoweb/silverstripe-hostedvideos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. innoweb/silverstripe-hostedvideos

AbandonedSilverstripe-module[Image &amp; Media](/categories/media)

innoweb/silverstripe-hostedvideos
=================================

adds video handling to objects. supports locally hosted videos as well as YouTube and Vimeo.

1.2.0(7y ago)4940BSD-3-Clause

Since Dec 20Compare

[ Source](https://github.com/xini/silverstripe-hostedvideos)[ Packagist](https://packagist.org/packages/innoweb/silverstripe-hostedvideos)[ RSS](/packages/innoweb-silverstripe-hostedvideos/feed)WikiDiscussions Synced today

READMEChangelogDependencies (3)Versions (11)Used By (0)

Self-hosted video integration (also supporting YouTube and Vimeo videos)
========================================================================

[](#self-hosted-video-integration-also-supporting-youtube-and-vimeo-videos)

**This is an archived project and is no longer maintained. Please do not file issues or pull-requests against this repo. If you wish to continue to develop this code yourself, we recommend you fork it or contact us.**

This module allows adding locally hosted, YouTube or Vimeo videos to any object.

It uses

- \[ChunkedUploadField\] () to allow uploads larger than the configured PHP limits
- \[afterglow video player\] () for locally stored videos (which allows SD and HD versions of videos)
- native YouTube and Vimeo embedding for those videos (afterglow could be used here too, but then the videos wouldn't work without javascript)

When adding Vimeo and YouTube videos, you can add the video code or the whole URL. If URLs are given, the URLs are parsed the video codes extracted.

Usage
-----

[](#usage)

Add the `HostedVideoExtension` to any page/dataobject you want to contain a video. This will add the fields for the object to contain one single video.

Insert `$HostedVideo` in your template, wherever you want your video to show.

Configuration
-------------

[](#configuration)

### video sources

[](#video-sources)

By default all three video sources are enabled. You can disable any of them using the following config options:

```
HostedVideoExtension:
  disable_selfhosted: true
  disable_vimeo: true
  disable_youtube: true

```

### video resolutions

[](#video-resolutions)

By default there are two video resultions configured for self hosted videos:

```
HostedVideoExtension:
  resolutions:
    SD: 480
    HD: 720

```

You can change these settings and add more resultions if you would like to give the user more options.

### display size

[](#display-size)

You can specify the display size of the videos in your yml config:

```
HostedVideoExtension:
  display_size:
    width: 560
    height: 315

```

The default CSS treats all videos as having a 16:9 ratio (56.25% height).

### formats and media types

[](#formats-and-media-types)

You can specify the media types allowed for your self hosted videos in the yml config:

```
HostedVideoExtension:
  formats:
    mp4:
      type: 'video/mp4'
      label: 'MP4 (H.264 with AAC or MP3 audio)'
    webm:
      type: 'video/webm'
      label: 'WebM (VP8/VP9 with Vorbis or Opus audio)'
    ogg:
      type: 'video/ogg'
      label: 'Ogg (Theora with Vorbis audio)'

```

Please make sure the configured media types are also defined on your server (.htaccess for Apache):

```
AddType video/mp4 .mp4
AddType video/webm .webm
AddType video/ogg .ogg

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~102 days

Recently: every ~215 days

Total

10

Last Release

2559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d2e71d7787401a7bd4916062346163897f89f455d650ab32b5d60cd14825ad3?d=identicon)[xini](/maintainers/xini)

---

Top Contributors

[![xini](https://avatars.githubusercontent.com/u/1152403?v=4)](https://github.com/xini "xini (17 commits)")

---

Tags

silverstripevideoyoutubevimeoself hosted

### Embed Badge

![Health badge](/badges/innoweb-silverstripe-hostedvideos/health.svg)

```
[![Health](https://phpackages.com/badges/innoweb-silverstripe-hostedvideos/health.svg)](https://phpackages.com/packages/innoweb-silverstripe-hostedvideos)
```

###  Alternatives

[jonnitto/plyr

Plyr.io for Neos.io

1136.5k2](/packages/jonnitto-plyr)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
