Download the PHP package innoweb/silverstripe-hostedvideos without Composer

On this page you can find all versions of the php package innoweb/silverstripe-hostedvideos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package silverstripe-hostedvideos

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

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

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

video sources

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

video resolutions

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

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

display size

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

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

formats and media types

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

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


All versions of silverstripe-hostedvideos with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package innoweb/silverstripe-hostedvideos contains the following files

Loading the files please wait ....