WordPress.org

Plugin Directory

Changeset 1658733


Ignore:
Timestamp:
05/16/17 18:16:10 (6 days ago)
Author:
videowhisper
Message:

Update

Location:
video-share-vod/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • video-share-vod/trunk/readme.txt

    r1639761 r1658733  
    3535 "Video Share VOD Features") ... 
    3636 
    37 = Membership VOD = 
     37= VOD Access Control : Membership, Sales = 
    3838* define global video access list (roles, user emails & ids) 
    3939* role playlists: assign videos as accessible by certain roles 
     
    4141* show preview and custom message when inaccessible 
    4242* read more about [Video On Demand](http://videosharevod.com/features/video-on-demand/ "Video On Demand") ... 
     43* integrates [Paid Membership and Content](https://wordpress.org/plugins/paid-membership/ "Paid Membership and Content") plugin to allow selling items 
    4344 
    4445= Players = 
  • video-share-vod/trunk/video-share-vod.php

    r1643172 r1658733  
    44Plugin URI: http://www.videosharevod.com 
    55Description: <strong>Video Share / Video on Demand (VOD)</strong> plugin enables users to share videos and others to watch on demand. Allows publishing archived VideoWhisper Live Streaming broadcasts and recorded videochat streams. 
    6 Version: 1.7.19 
     6Version: 1.7.22 
    77Author: VideoWhisper.com 
    88Author URI: http://www.videowhisper.com/ 
    99Contributors: videowhisper, VideoWhisper.com 
     10Text Domain: video-share-vod 
     11Domain Path: /languages/ 
    1012*/ 
    1113 
     
    382384 
    383385 
    384         function init() 
     386        function plugins_loaded() 
    385387        { 
    386388            $options = get_option('VWvideoShareOptions'); 
     
    10371039 
    10381040                    $canEdit = 0; 
    1039                     if ($isAdministrator || $item->post_author == $isID) $canEdit = 1; 
    1040  
    1041                     $info = '' . __('Title', 'video-share-vod') . ': ' . $item->post_title . "\r\n" . __('Duration', 'video-share-vod') . ': ' . $duration . "\r\n" . __('Age', 'video-share-vod') . ': ' . $age . "\r\n" . __('Views', 'video-share-vod') . ": " . $views; 
     1041                    if ($options['editContent']) 
     1042                        if ($isAdministrator || $item->post_author == $isID) $canEdit = 1; 
     1043 
     1044 
     1045                        $info = '' . __('Title', 'video-share-vod') . ': ' . $item->post_title . "\r\n" . __('Duration', 'video-share-vod') . ': ' . $duration . "\r\n" . __('Age', 'video-share-vod') . ': ' . $age . "\r\n" . __('Views', 'video-share-vod') . ": " . $views; 
    10421046                    $views .= ' ' . __('views', 'video-share-vod'); 
    10431047 
     
    33653369                    } 
    33663370 
    3367                     $lastConversion = array('command'=>$cmd, 'time'=>time()); 
     3371                    $lastConversion = array('command'=>$cmd, 'time'=>time() ); 
    33683372 
    33693373                    $uploadsPath = $options['uploadsPath']; 
     
    41934197PHP Limitations (for a request, script call): 
    41944198<BR>post_max_size: <?php echo ini_get('post_max_size') ?> 
    4195 <BR>upload_max_filesize: <?php echo ini_get('upload_max_filesize') ?> 
    4196 <BR>memory_limit: <?php echo ini_get('memory_limit') ?> 
    4197 <BR>max_execution_time: <?php echo ini_get('max_execution_time') ?> 
     4199<BR>upload_max_filesize: <?php echo ini_get('upload_max_filesize') ?> - The maximum size of an uploaded file. 
     4200<BR>memory_limit: <?php echo ini_get('memory_limit') ?> - This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. 
     4201<BR>max_execution_time: <?php echo ini_get('max_execution_time') ?> - This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 90. 
     4202<BR>max_input_time: <?php echo ini_get('max_input_time') ?>  - This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads. 
    41984203 
    41994204<p>For adding big videos, best way is to upload by FTP and use <a href="admin.php?page=video-share-import">Import</a> feature. Trying to upload big files by HTTP (from web page) may result in failure due to request limitations, timeouts depending on client upload connection speed.</p> 
     
    44944499 
    44954500            return array( 
    4496                 'editURL' => $root_url . 'edit-content?itemID=', 
     4501                'editURL' => $root_url . 'edit-content?editID=', 
     4502                'editContent' => 'all', 
    44974503                'allowDebug' => '1', 
    44984504 
     
    53965402PHP Limitations (for a request, script call): 
    53975403<BR>post_max_size: <?php echo ini_get('post_max_size') ?> 
    5398 <BR>upload_max_filesize: <?php echo ini_get('upload_max_filesize') ?> 
    5399 <BR>memory_limit: <?php echo ini_get('memory_limit') ?> 
    5400 <BR>max_execution_time: <?php echo ini_get('max_execution_time') ?> 
     5404<BR>upload_max_filesize: <?php echo ini_get('upload_max_filesize') ?> - The maximum size of an uploaded file. 
     5405<BR>memory_limit: <?php echo ini_get('memory_limit') ?> - This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. 
     5406<BR>max_execution_time: <?php echo ini_get('max_execution_time') ?> - This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 90. 
     5407<BR>max_input_time: <?php echo ini_get('max_input_time') ?>  - This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads. 
    54015408 
    54025409<p>For adding big videos, best way is to upload by FTP and use <a href="admin.php?page=video-share-import">Import</a> feature. Trying to upload big files by HTTP (from web page) may result in failure due to request limitations, timeouts depending on client upload connection speed.</p> 
     
    54505457                    $optionsPM = get_option('VWpaidMembershipOptions'); 
    54515458                    if ($optionsPM['p_videowhisper_content_edit']) $editURL = add_query_arg('editID', '', get_permalink($optionsPM['p_videowhisper_content_edit'])) . '='; 
     5459 
     5460 
     5461                }else echo 'Not detected. Please install and activate <a target="_mycred" href="https://wordpress.org/plugins/paid-membership/">Paid Membership and Content with Credits</a> from <a href="plugin-install.php">Plugins > Add New</a>!'; 
     5462 
    54525463?> 
     5464 
     5465<h4>Frontend Contend Edit</h4> 
     5466<select name="editContent" id="editContent"> 
     5467  <option value="0" <?php echo $options['editContent']?"":"selected"?>>No</option> 
     5468  <option value="all" <?php echo $options['editContent']?"selected":""?>>Yes</option> 
     5469</select> 
     5470<br>Allow owner and admin to edit content options for videos, from frontend. This will show an edit button on listings that can be edited by current user. 
     5471 
    54535472<h4>Edit Content URL</h4> 
    5454 <input name="editURL" type="text" id="editURL" size="100" maxlength="256" value="<?php echo $editURL?>"/> 
    5455 <BR>Current: <?php echo $options['editURL'] ?> 
     5473<input name="editURL" type="text" id="editURL" size="100" maxlength="256" value="<?php echo $options['editURL']?>"/> 
     5474<BR>Detected: <?php echo $editURL ?> 
     5475 
    54565476<?php 
    5457  
    5458                 }else echo 'Not detected. Please install and activate <a target="_mycred" href="https://wordpress.org/plugins/paid-membership/">Paid Membership and Content with Credits</a> from <a href="plugin-install.php">Plugins > Add New</a>!'; 
    54595477 
    54605478                break; 
     
    58095827    add_action( 'init', array(&$videoShare, 'video_post'),0); 
    58105828    add_action('admin_menu', array(&$videoShare, 'adminMenu')); 
    5811     add_action("plugins_loaded", array(&$videoShare , 'init')); 
     5829    add_action("plugins_loaded", array(&$videoShare , 'plugins_loaded')); 
    58125830 
    58135831    add_action( 'parse_request', array(&$videoShare, 'parse_request')); 
Note: See TracChangeset for help on using the changeset viewer.