Changeset 1301410
- Timestamp:
- 12/06/2015 03:26:29 PM (10 years ago)
- File:
-
- 1 edited
-
os-media/trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
os-media/trunk/readme.txt
r1301402 r1301410 13 13 == Description == 14 14 15 Wordpress video pluginOS-media generate an HTML5 video player (Video-js) and allow streaming of mp4/webm/ogv video progressively through PHP (HTTP pseudo-streaming).16 > It works with all WP theme , but is designed specifically for **OS-media theme**,that is able to properly handle the layout of Custom Post Type (Featured Videos).15 OS-media generate an HTML5 video player (Video-js) and allow streaming of mp4/webm/ogv video progressively through PHP (HTTP pseudo-streaming). 16 > 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 Type (Featured Videos). 17 17 18 **DEMO ONLINE:** http://openstream.tv/sep/ 18 **DEMO ONLINE:** http://openstream.tv/demo/ 19 19 20 **OS-media WP theme:** http://www.mariomarino.eu/os-media-wordpress-theme/ 20 21 21 22 **How insert video:** 22 23 23 There are two areas where you can insert multimedia content: 24 24 There are two areas where you can insert multimedia content:<br> 25 25 * in normal post or page with the classic **shortcodes** added to the post textarea. 26 26 * in specific **Custom Post Type for "Featured Video"**, a dedicated area to make video platforms where we have a single "Featured video" for each page (like WP Featured Images). 27 27 28 And there are 5 mode to insert video: 29 28 And there are 5 mode to insert video:<br> 30 29 * 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) and files list appears in **file selector**. 31 30 * from any file server or WP installation: you must place the URL (http://...) and files list appears in **file selector**. … … 35 34 36 35 > <strong>OSmedia Featured video - Custom Post Type:</strong><br> 37 > For this type of page, the best way to display video is to use a specific template (like **Os-media theme**, specifically designed for this plugin) oryou 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.36 > 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. 38 37 39 **Image poster for video:**40 38 41 * For normal post&page you can place poster URL in shortcode. 42 *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.39 For normal post&page you can place **Poster Image for video** URL in shortcode (img="").<br> 40 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. 43 41 44 **Option settings:** 42 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"). 45 43 46 Some configs parameters 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"). 47 48 **More Info on my personal blog:** 49 50 http://www.mariomarino.eu/os-media/ 44 **List of all parameters of OS-media video:** 45 http://www.mariomarino.eu/wp-content/uploads/2013/10/OSmedia_vars.pdf 51 46 52 47 **Shortcode example:** … … 54 49 `[video file=”demo” fileurl="https://s3-eu-west-1.amazonaws.com/” img="http://.." youtube="KTRVYDwfDyU" width="640" height="360"]` 55 50 56 **Video-js Skin:** 57 You can customize you own player skin simply generating css file through this tool: http://codepen.io/heff/pen/EarCt. 51 You can customize you own **Video-js skin** player simply generating css file through this tool: http://codepen.io/heff/pen/EarCt. 58 52 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). 59 53 60 **List of all parameters of OS-media video:** 61 http://www.mariomarino.eu/wp-content/uploads/2013/10/OSmedia_vars.pdf 54 **More Info on my personal blog:** http://www.mariomarino.eu/en/os-media-wordpress-video-plugin/ 62 55 63 56 **Credits:** 64 OS-media video plugin is based on: 57 65 58 * <a href=”http://videojs.com/>Video-js</a> video library version 5.2.1 66 59 * The <a href=”https://github.com/iandunn/WordPress-Plugin-Skeleton>skeleton for an object-oriented/MVC WordPress plugin</a> by Ian Dunn.
Note: See TracChangeset
for help on using the changeset viewer.