Download the PHP package oui/oui_player without Composer

On this page you can find all versions of the php package oui/oui_player. 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 oui_player

h1. oui_player

h2. Introduction

An extendable plugin to easily embed customized audio and video players.

p(alert-block information). %(ui-icon ui-icon-info).% This plugin does not use oembed, it builds iframe embedding codes and HTML5 players by its own without any external request for better performances.

h3. Supported extensions

As known at the last plugin release…

h3. Plugin requirements

oui_player's minimum requirements:

h2. Plugin management

h3. Installation

h4. From the admin interface

Follow the below instructions before or after installing the wanted oui_player extensions:

"Download":https://github.com/NicolasGraph/oui_player/releases the @.txt@ or @_zip.txt@ compiled plugin file;

Upload its contents through the Admin > Plugins tab;

Confirm the plugin install on the preview page.

Enable the plugin and click the Options link to set the plugin preferences.

h4. Via Composer (not available yet)

After "installing Composer":https://getcomposer.org/doc/00-intro.md

Target your project directory:

@$ cd /path/to/your/textpattern/installation/dir@

If it's not already done, lock your version of Txp:

@$ composer require textpattern/lock:4.6.2@, where @4.6.2@ is the Txp version in use.

Install oui_player:

@$ composer require nicolasgraph/oui_player@

Connect to the Txp admin interface and click Options or visit your "Admin > Preferences":?event=prefs#prefs_group_oui_player tab to fill the plugin prefs.

h3. Update

h4. From the admin interface

Follow the install instructions. If you are updating from v1.*, be sure to install all wanted extensions before to visit the "Admin > Preferences":?event=prefs#prefs_group_oui_player tab to keep your preference values untouched.

h4. Via Composer (not available yet)

bc. $ composer update nicolasgraph/oui_player

h3. Uninstall

h4. From the admin interface

In the Admin > Plugins tab, check the box on the left of the plugin related row.

Under the plugins list, select the the Delete option.

confirm the deletion.

h4. Via Composer (not available yet)

bc. $ composer remove nicolasgraph/oui_player

h2. Preferences/options

Plugin prefs can be set under the Admin > Preferences tab and are mainly used as default values for the @@ tag attributes.

h3. Global prefs

h3. Providers prefs

While %(information)some player parameters, related to the item to play, should be used through attributes% (e.g. the Youtube @start@ parameter which defines the second where to start playing the video), %(information)these used as global settings should preferrably be set through the plugin preferences% to %(warning)avoid a massive use of tag attributes%.

Of course, it is still possible to override a plugin pref value via an attribute when needed.

h2. Tags

h3. oui_player

Embeds a player.

bc(language-markup).

h4. Presentational attributes

h4. Main tag attributes

Most of the following attributes can be set via the Preferences tab; +always prefer plugin "global" prefs to tag related attributes!+

h4. Providers related tag attributes

See each provider related extension.

h3. oui_if_player

Checks the @play@ attribute value againsts defined URL schemes.

bc(language-markup). […] </txp:oui_if_player>

h4. Attributes

h2. Examples

h3. Display a player from the default values collected via plugin prefs

bc(language-markup).

h3. Display a player from a manually filled URL

bc(language-markup).

…or, maybe a bit faster…

bc(language-markup).

h3. Display a player from manually filled ID

Using the favourite provider set in the prefs.

bc(language-markup).

…or, in conjonction with the @provider@ attribute…

bc(language-markup).

h3. Display a player only if its URL is recognized as a provider URL scheme

With the default values collected via plugin prefs…

bc(language-markup)..

</txp:oui_if_player>

p. …or, with a manually filled URL…

bc(language-markup)..

</txp:oui_if_player>

p. You can also add the provider attribute to check the URL against URL schemes of a defined provider.

h2. Credits

h3. Author

"Nicolas Morand":https://twitter.com/NicolasGraph Thank you to the Textpattern community and the core team.

h3. License

This plugin is distributed under "GPL v2.0":https://www.gnu.org/licenses/gpl-2.0.txt.

oui_player version 2.0.0-BETA3, Copyright (C) 2018 Nicolas Morand This Textpattern plugin comes with ABSOLUTELY "NO WARRANTY":https://www.gnu.org/licenses/gpl-2.0.html#section11. This is free software, and you are welcome to redistribute it "under certain conditions":https://www.gnu.org/licenses/gpl-2.0.html#SEC3.

h3. Changelog


All versions of oui_player with dependencies

PHP Build Version
Package Version
Requires textpattern/lock Version ^4.6
textpattern/installer 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 oui/oui_player contains the following files

Loading the files please wait ....