Jump to content

KVS 5.1.0 update

Tech Support

Recommended Posts

Update status

5.1.0 BETA replaced with 5.1.1 FINAL.


Update requirements

  • KVS 5.0.0 or 5.0.1 (earlier versions should be updated to KVS 5.0.1 first).
  • PHP 7.1 or above.

If you haven't yet updated KVS to 5.0.1, then please do, you can find KVS 5.0.1 update information here: KVS 5.0.1 update

After updating KVS to 5.0.1, please change PHP to 7.1 or above:

  • Change Apache or Nginx configuration to use PHP 7.1+ for KVS project.
  • In /admin/include/setup.php modify PHP binary path to use PHP 7.1+ binary.
  • In Plugins -> System Audit run installation check.

Before altering project configuration please make sure that your PHP 7.1+ has all the needed and recommended modules described in KVS server requirements.

NOTE: to prevent your site from stopping due to invalid PHP version / configuration, it is recommended as the first step to modify PHP binary path to use PHP 7 and then run installation check in System Audit plugin. If audit results look good, you can switch Apache / Nginx to use new PHP for this project.

PHP 7.0 is not supported! Only PHP 7.1 - 7.3 are officially supported. Please take a look at updated KVS server requirements page.


5.1.0 update procedure

Any project starting from 5.0.0 can be updated to 5.1.0 with one only procedure. Depending on your current KVS version, update procedure may contain additional steps for older versions.

You must use KVS update plugin in order to update your project. For update you will need:

  • KVS update ZIP archive for your project and its hash code for update plugin (contact support in beta phase to get these).
  • FTP connection to your project so that you can upload files.

Update procedure has the following steps:

  • Create backup using Backup plugin.
  • Upload update ZIP into KVS update plugin and specify hash code.
  • KVS update plugin will notify you if there are any custom changes in KVS system files, which will be overridden by update (player skins are not checked here, so they will be silently updated if have custom changes).
  • KVS update plugin will update database automatically.
  • KVS update plugin will ask you to copy files from the archive on top of your project using FTP or filesystem copy. Please make sure you are NOT USING sync functionality in your FTP client, which will delete many files on your server, because obviously update archive contains only part of all files. What you need is just to drag and drop files from update archive on top of your project root folder and confirm their re-writing (excluding _INSTALL folder, it doesn't need to be copied).
  • KVS update plugin will verify the updated files and finalize update procedure.
  • Use System audit plugin to verify that everything looks good.


Whats new in KVS 5.1.0

WebP support in video screenshots, player VAST and VPAID enhancements, new player stats, free VAST from adspyglass.com, animated GIFs in video formats, CTR rotator enhancements and performance improvements, and other. You can find some screenshots and description about various new features in KVS 5.1.0 development topic.

1) Added support for WebP format in video screenshots. WebP is a modern image format promoted by Google and supported by major browsers (79.96% support coverage at this moment). The key feature of this format is HUGE - 30-50% - image size reduction in comparison with JPG while keeping visual quality almost the same. Since this format is not 100% supported, it can only be used as an addition to standard JPG format.

2) Huge set of KVS player enhancements:

  • Fully supports VAST 3.0 spec (except industry icons, as we never had an example of any KVS customer using it). This specifically means that KVS player now supports wrappers and advanced VAST loading techniques.
  • Fully supports VPAID 2.0 spec.
  • We changed the way how player requests VAST XML file. Previously it loaded VAST during player initialization in order to avoid any further delays when starting player. This approach worked incorrectly together with 3rd-party popunders, because in most cases player page would be displayed twice for the same user and KVS player didn't have any chance to know this fact, so that it could avoid VAST loading. The new approach will work similarly to other players, e.g. will load VAST only when clicked. We believe this will improve VAST performance for most KVS customers.
  • Mobile devices will start pre-loading main video during pre-roll advertising display. This should result in less time waiting for video to start, because in most cases video file will be buffered when user is watching pre-roll.
  • We changed controlbar behavior on touch devices when displaying pre-roll / post-roll ads. Previously controlbar was auto-hiding and displaying back on first touch on advertising, which may have resulted in less clicks and smaller CTR. We fixed that to never hide controlbar during advertising display on touch devices.
  • We fixed volume button to allow reducing volume during advertising display (mostly desktops as mobiles may not support this). Previously it only supported mute / unmute options.
  • We added support for player stats in KVS and Google Analytics. In Stats settings it will now be possible to enable stats for player events and choose where to collect them.
  • Also in Stats settings it will be possible to enable counting of playback events for every video. By default KVS counts only 'view' event, which is basically the fact of opening video player page. With this player update, it will also be possible to count a separate number of how many times a specific video was played by player.
  • IMPORTANT! All player skins are updated due to these changes. If you are using custom player skin you should also update it accordingly, because KVS will not auto-update your custom player skin.

3) Adspyglass.com is now among free VAST providers list that do not require VAST subscription code from KVS! It provides integration with more than 30 popular VAST advertisers and may increase your advertising revenue without any effort from your side by automatically displaying best paid ads for every specific visitor based on their device and location.

4) Player stats were enhanced to provide more complex data than before. You can now use them to compare traffic quality from different sources (by using KVS referrer settings). If you buy or trade traffic from multiple sources, you can change stats grouping so that each row in stats indicate traffic from separate referrer. By comparing discrepancy between AVG value and actual value (shown as +-% in brackets) you can easily detect cheaters and bad traffic, as it is very unlikely that they can emulate the same behavioral pattern for player events as real traffic shows.

5) All traffic stats were enhanced to better GUI with ability to display more data columns and analytics function.

6) KVS will now support animated GIFs as video formats. It will be possible to define GIF format similarly to other video formats and require KVS to create GIF image from any uploaded video based on duration and trailer settings. For example it will be possible to create 5-seconds GIF trailers from every video.

7) CTR rotator functionality was enhanced in several ways:

  • First of all, we updated its old calculation method that resulted in slowing down CTR calculation. New rotator logic brings immediate CTR values that reflect the most clickable videos as they are at the given moment. Website caching will not affect CTR calculation anymore.
  • Another important enhancement is ability to configure random video inclusions when rendering videos by CTR. For example if you have already a set of videos sorted by CTR, you can allow some random videos to be displayed at several positions, so that new videos have bigger chance to get some clicks and make their way to the top. This should be configured per-list in list_videos block parameters (randomize_positions parameter added).
  • Finally we did some performance improvements in the area and came to enhancements that will reduce database load during CTR recalculation. We also added Schedule option in Rotator settings that allows increasing intervals between CTR recalculations, and also provides ability to configure 'quiet' period so that rotator is not generating any additional load when your server is under heavy traffic.

8) In tag settings it will now be possible to configure that all new tags are created in inactive status and do not appear on site without manually activating them.

9) In Personal settings we returned back the option that allowed configuring maximum thumb size in admin panel lists. This option was previously removed with 5.0 changes.

10) In admin panel it will be possible now to configure Anonymous user as default user for any content.

11) Added display of embed code stats on start page in admin panel.

12) In billings we added support for repeating transaction postback if it resulted in error. In order to allow that we got back email and password logging into billing logs, that has been previously removed as part of 4.0.2 update.

13) Import GUI was updated to show examples of expected values for each data column. Also support for Access level option was added for videos and albums.

14) In comments we changed the way how admin panel displays long comments in the list. Previously any comment longer than 200 characters would be truncated from the end. In the update we changed this to truncate the middle part, so that beginning and end of comment is always visible. Also we added additional column that can render full comment without any truncation, regardless of its length.

15) Storage server validation checks will now send referer header to avoid some special configurations that don't allow empty referers.

16) Backup plugin will use better naming convention for created backups.

17) KVS conversion engine will not support FLV output formats anymore as they are obsolete.

18) In video_edit and album_edit blocks it is now possible to specify access level field.

19) In signup and member_profile_edit blocks KVS will now fully verify the specified birth date to comply with minimum allowed age configured in setup.php (set to 18 years by default). Previously this option was used to limit the choice of available years in date selectors, but KVS never verified that the specified birth date was in the range of allowed full years.

20) If multiple active storage servers are located in the same group and KVS detects error in any of them, this server won't be used to serve content right a way.

21) Bugs that have been fixed:

  • [CRITICAL] NATS payment processor would result in processing error if no access packages were created for it (regression after 5.0).
  • [HIGH] Broken video files may appear when video format was recreated from itself and conversion engine was not able to fully copy it to storage server due to network error.
  • [HIGH] Model and content source functionality resulted in SQL errors under MySQL 8.
  • [MEDIUM] In some cases when background tasks were manually deleted, video source files would not be deleted.
  • [MEDIUM] Model and content source ranking would calculate incorrectly in random cases.
  • [LOW] Importing feeds incorrectly displayed the amount of deleted videos (regression after 5.0).
  • [LOW] Categories autoselection plugin did not consider tags correctly when using mixed case (e.g. Tag1 vs tag1).
  • [LOW] Bad screenshot detection logic worked incorrectly for some videos and could result in much slower screenshot creation.
  • [LOW] Player would sometimes render +1 timeline screenshot that did not exist and resulted in 404 error.
  • [LOW] FTP content uploader plugin would allow importing premium videos even if no premium formats were defined.
  • [LOW] Comments would be shifted to future dates when shifting post date of a video or album.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...