Changeset 1297173
- Timestamp:
- 11/30/2015 09:17:19 AM (10 years ago)
- Location:
- os-media/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (5 diffs)
-
views/OSmedia-postmeta/metabox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
os-media/trunk/readme.txt
r1296956 r1297173 1 === OS media - HTML5 Featured Video plugin for WordPress ===1 === OS media video - HTML5 Featured Video 2 2 Contributors: mariomarino 3 3 Requires at least: 3.4 … … 13 13 == Description == 14 14 15 Thisplugin is based on:15 OS-media video plugin is based on: 16 16 17 17 * <a href=”http://videojs.com/>Video-js</a> video library version 5.2.1 … … 19 19 * The <a href=”http://codesamplez.com/programming/php-html5-video-streaming-tutorial>VideoStream</a> class by Md Ali Ahsan Rana. 20 20 21 There are two areas in wich can beinsert multimedia content:21 There are two areas where you can insert multimedia content: 22 22 23 * **Custom Post Type for "Featured Video"**, specifically dedicated to video platforms where we have a single "Featured video" for each page (like WP Featured Images).24 23 * in normal post or page with the classic **shortcodes** added to the post textarea. 24 * 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). 25 25 26 There are 5 possibility to insert video:26 And there are 5 possibility to insert video: 27 27 28 28 * from **self-hosted local** WP installation: you must place the PATH of this local video resource (/opt/lampp/htdocs/wp/wp-content/uploads/video) **[main file selector]** … … 34 34 **OSmedia Featured video - Custom Post Type:** 35 35 36 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) or you can insert the function **Osmedia_video()** in your theme. This content are also optimized for latests WP theme like Twenty Fifteen or Twenty Fourteen, automatically detected by this plugin, which loads the dedicated layout for CPT content. You can also customize the file **layout/osmedia_cpt.php** loaded by default, if your theme was not recognized.36 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) or 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. 37 37 38 38 **Image poster for video:** 39 39 40 * you can place URL in shortcode for post/page.41 * In custom Post Field you can use the Featured Image, otherwise the plugin try to loadfile from the same directory with the same name and .jpg extension.40 * For normal post&page you can place poster URL in shortcode. 41 * 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. 42 42 43 43 44 44 **Option settings:** 45 45 46 There are some configs parameters that are 'general config' not present in single-post settings that are effective for post already created. And default setting that are overwritten by single-post settings parameters.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 47 48 48 **More Info on my personal blog:** … … 54 54 `[video file=”demo” fileurl="https://s3-eu-west-1.amazonaws.com/” img="http://.." youtube="KTRVYDwfDyU" width="640" height="360"]` 55 55 56 ** Variables list:**56 **List of all parameters of OS-media video:** 57 57 http://www.mariomarino.eu/wp-content/uploads/2013/10/OSmedia_vars.pdf 58 58 59 59 **IMPORTANT NOTE about old version (1.0):** 60 The old post / page 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. This because in the new version in post and page, video are displayed only through shortcode. 60 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. 61 This because in the new version in normal post and page, video are displayed only through shortcode. 61 62 62 63 == Installation == -
os-media/trunk/views/OSmedia-postmeta/metabox.php
r1296137 r1297173 16 16 <table class="metabox_table"> 17 17 <thead></thead> 18 <th>video identification options</th>19 <th>on-fly local upload ( only small video)</th>18 <th>video identification</th> 19 <th>on-fly local upload (MAX upload file-size: <?php echo ini_get('post_max_size') ?>)</th> 20 20 <tr> 21 21 <td>
Note: See TracChangeset
for help on using the changeset viewer.