Title: OS media &#8211; HTML5 Featured Video
Author: mario marino
Published: <strong>November 4, 2013</strong>
Last modified: October 16, 2016

---

Search plugins

![](https://ps.w.org/os-media/assets/banner-772x250.jpg?rev=1299647)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/os-media_6a2c55.svg)

# OS media – HTML5 Featured Video

 By [mario marino](https://profiles.wordpress.org/molven/)

[Download](https://downloads.wordpress.org/plugin/os-media.2.3.zip)

 * [Details](https://srd.wordpress.org/plugins/os-media/#description)
 * [Reviews](https://srd.wordpress.org/plugins/os-media/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/os-media/#installation)
 * [Development](https://srd.wordpress.org/plugins/os-media/#developers)

 [Support](https://wordpress.org/support/plugin/os-media/)

## Description

OS-media allow streaming of mp4/webm/ogv video progressively through PHP. It works
with all WP themes, but is designed specifically for **OS-media theme**, a Twenty
Fourteen Child Theme that is able to properly handle the layout of Custom Post for
Featured Videos.

**DEMO ONLINE:** http://openstream.tv/demo/

**OS-media WP theme:** http://www.mariomarino.eu/os-media-wordpress-theme/

You can insert multimedia content:

 * in normal post or page with the classic **shortcodes** added to the post textarea
   through control panel.
 * in **Custom Post Type for “Featured Video”**, a dedicated area where we have 
   a single “Featured video” for each page (like WP Featured Images).

There are 5 ways to insert video:

 1. from local WP installation (after upload video files through FTP): you must place
    the **PATH** of this local video resource (for example: /opt/lampp/htdocs/wp/wp-
    content/uploads/video)in general settings and files list appears in **file selector**
    in each control panel of single post.
 2. from any file server or WP installation: you must place the URL (http://…) and 
    files list appears in **file selector**.
 3. from **Amazon S3** (Simple Storage Server) [files list appears in **file selector**],
 4. directly uploading (or selecting) files through WordPress **media uploader** (limited
    size: depends on the configuration of php and WP) [dedicated input for each format:
    mp4, webm, ogg]
 5. from the platform **Youtube & Vimeo**. [dedicated input]

> NOTE: **the way 1 is recommended** if you need to hide the video URL and prevents
> users from easily downloading the source.
> For **OSmedia Featured video (Custom Post Type)**, if you don’t use **Os-media
> theme** you can insert the function **Osmedia_video()** in your theme. This content
> are also optimized for latest WP theme like Twenty Fifteen or Twenty Fourteen,
> automatically detected by this plugin, which loads the dedicated layout for CPT
> content. If your theme is not recognized, is loaded by default the file **layout/
> osmedia_cpt.php**, that you can edit and customize for display your featured video.

For normal post/page you can place **Poster Image for video** URL in shortcode (
img=””).
 In custom Post Field you can use the WP Featured Image, otherwise the 
plugin try to load image file from the same directory with the same name and .jpg
extension.

Some configs parameters in **Option settings** are **general config**, not present
in single-post settings, this one are effective for post already created (for example:“
local video path”, or “player skin”). And some other config parameters for **default
setting** that are overwritten by the same settings parameters present in single-
post (for example: “width”, or “autoplay”).

**List of all parameters of OS-media video:**
 http://www.mariomarino.eu/wp-content/
uploads/2013/10/OSmedia_vars.pdf

**Shortcode example:**

    ```
    [video file=”demo” fileurl="https://s3-eu-west-1.amazonaws.com/” img="http://.." youtube="KTRVYDwfDyU" width="640" height="360"]
    ```

You can customize you own **Video-js skin** player simply generating css file through
this tool: http://codepen.io/heff/pen/EarCt.
 After that upload this file in the
plugin folder: player/videojs/skin. The file name should reflect the name of the
main class of the css file (not including the extension .css).

**More Info on my personal blog:** http://www.mariomarino.eu/en/os-media-wordpress-
video-plugin/

**Credits:**

 * Video-js video library version 5.2.1
 * The skeleton for an object-oriented/MVC WordPress plugin by Ian Dunn.
 * The VideoStream class by Md Ali Ahsan Rana.

**IMPORTANT NOTE about old version (1.0):**
 The old **featured video post** create
through old version of this plugin MUST be simply manually reloaded in Admin Area
and, when appear the video data on the metabox form, click “Generate Shortcode” 
button and save post. This because in the new version in normal post and page, video
are displayed only through shortcode.

## Screenshots

 * [[
 * General Options: Admin area for HTML5 Player
 * [[
 * Metabox area for single post/page
 * [[
 * Frontpage Twenty Fifteen Wordpress theme

## Installation

 1. from plugin admin panel and option select ‘add new’.
 2. search fo `OSmedia`.
 3. select ‘install’.
 4. Activate the plugin from the WordPress administration panel.

## Reviews

![](https://secure.gravatar.com/avatar/9b0c3b404e019cb81b16897fef83a92aff29a42e79130bc7fe124ac07e48f6e3?
s=60&d=retro&r=g)

### 󠀁[Plug-in error can not be enabled](https://wordpress.org/support/topic/plug-in-error-can-not-be-enabled/)󠁿

 [wangshen](https://profiles.wordpress.org/wangshen/) October 9, 2016 1 reply

无法启用插件，因为它引起了一个致命错误（fatal error）。 Parse error: syntax error,
unexpected ‘[‘ in public_html/wp-content/plugins/os-media/classes/OSmedia-post-admin.
php on line 346

![](https://secure.gravatar.com/avatar/5dcf4893a17d62e6301d03488ae58537629e1b361a54aa7e080b5d660b5a9470?
s=60&d=retro&r=g)

### 󠀁[What I needed](https://wordpress.org/support/topic/what-i-needed-19/)󠁿

 [gdalmas](https://profiles.wordpress.org/gdalmas/) September 3, 2016

Great plugins that helped me to embed video in an efficient e simple way

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/os-media/reviews/)

## Contributors & Developers

“OS media – HTML5 Featured Video” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ mario marino ](https://profiles.wordpress.org/molven/)
 *   [ Mario Marino ](https://profiles.wordpress.org/mario-marino/)

[Translate “OS media – HTML5 Featured Video” into your language.](https://translate.wordpress.org/projects/wp-plugins/os-media)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/os-media/), check out
the [SVN repository](https://plugins.svn.wordpress.org/os-media/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/os-media/) by [RSS](https://plugins.trac.wordpress.org/log/os-media/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3

 * new monitor interface for video sources in settings.
 * add colours in select files sources
 * fixed bug in new CPT post setting

#### 2.2

 * dinamically URL select from setting.
 * add manual video-file input for extenal server.
 * fixed bug in file url external server

#### 2.1

 * Optimized OS-media theme integration.
 * add video-js skin.
 * fixed bug in settings option area.

#### 2.0

 * interely redesigned interface with new Custom Post Type area dedicated to “Featured
   Video”.
 * add new file selector that allow select video from different source server, included
   Amazon S3.
 * add latest version of video-js player 5.2.1.

#### 1.1

 * add insert shortcode for youtube video .
 * add responsive wrapper for youtube player.
 * add responsive wrapper for HTML5 player.
 * allow play youtube video through video-js HTML5 player

#### 1.0

 * First release

## Meta

 *  Version **2.3**
 *  Last updated **9 years ago**
 *  Active installations **10+**
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/os-media/)
 * Tags
 * [featured](https://srd.wordpress.org/plugins/tags/featured/)[page](https://srd.wordpress.org/plugins/tags/page/)
   [post](https://srd.wordpress.org/plugins/tags/post/)[streaming](https://srd.wordpress.org/plugins/tags/streaming/)
   [video](https://srd.wordpress.org/plugins/tags/video/)
 *  [Advanced View](https://srd.wordpress.org/plugins/os-media/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/os-media/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/os-media/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/os-media/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/os-media/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/os-media/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/os-media/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/os-media/reviews/)

## Contributors

 *   [ mario marino ](https://profiles.wordpress.org/molven/)
 *   [ Mario Marino ](https://profiles.wordpress.org/mario-marino/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/os-media/)