Jump to content

KVS 3.9.1 implementation


Tech Support

Recommended Posts

Showing related models for the current model

 

In 3.9.1 we have just added support for related mode in list_models block, which will allow you show models that are similar to the current model by one of the following criteria:

- By tags

- By categories

- By country

- By city

- By gender

- By age (+-3 years)

- By height (+-5 units)

- By weight (+-5 units)

- By hair color

 

It is also possible to dynamically switch between these criteria to allow user decide.

 

The functionality is available in list_models block settings:

 

related_models.thumb.png.9dd6406eff922c10ab472ed9a5ebb994.png

Link to comment
Share on other sites

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Support for marking videos / albums as deleted and showing their pages alive

 

This is one of the long demanded feature, which we finally managed to implement.

 

Instead of deleting content you can now mark it as deleted:

mark_content_deleted.png.012939567345c068f8ace9cfe9dcb6ab.png

 

Once the option is selected, KVS tube script will show you confirmation form, where you can specify delete reason for the selected set of content. For the first time the list of recently used reasons will be empty, but as long as you start specifying them, they will be populated into a single select field:

 

mark_content_deleted_form.png.aed958f153551b2b5300c6730da53e4a.png

 

After the confirmation form is submitted, background tasks will be created for each video / album to be marked as deleted. These tasks will delete all video files and screenshots for videos and images for albums. But the main data will still be present in the database.

 

Content marked as deleted will not appear in frontend lists (except for purchased videos / albums of the current user). At the same time such content will remain accessible via direct links, where it will be possible to display error message with delete reason:

 

mark_content_frontend.png.a15cc3f7e5e77860f3d26911ff36e99a.png

 

In order to correctly display the error message, you should modify theme templates.

 

For videos, go to Website UI -> Pages -> View Video page -> video_view block. You can find the following {{if}} statement there:

 

{{if $is_limit_over==1}}

 

Replace it with the following code:

 

{{if $data.status_id==5}}
<div class="no-player" style="width: 100%; height: 0; padding-bottom: {{$player_size[1]/$player_size[0]*100|replace:",":"."}}%; background: black">
<span class="message">{{$data.delete_reason}}</span>
</div>
{{elseif $is_limit_over==1}}

 

For albums, go to Website UI -> Pages -> View Album page -> album_view block. You can find the following {{if}} statement there:

 

{{if $is_limit_over==1}}

 

Replace it with the following code:

 

{{if $data.status_id==5}}
<div style="height: 150px">
<span class="message">{{$data.delete_reason}}</span>
</div>
{{elseif $is_limit_over==1}}

Link to comment
Share on other sites

  • 2 weeks later...

More robust IP limits on video files

 

In 3.9.0 after HTML5 player was introduced there was an issue with IP blocking when accessing videos. The reason is that some browsers send many subsequent range requests which results in IP address being logged much more than it should be, also this can produce more server load.

 

In 3.9.1 we have fixed that, so now range requests will not be logged. Also it is possible now to disable IP limit completely, which should increase performance a little bit.

 

Here is the new option:

video_ip_protection_settings.thumb.png.7bdb81468dba18815722da374f8e2203.png

 

The IP protection will be disabled automatically after updating to 3.9.1. We don't see much sense in it, since we have new link obfuscation option which will be more accurate.

 

If you are using 3.9.0 it is recommended for now to adjust IP protection with higher limit to prevent your users from being blocked for no reason. Please consider come back to this option after updating to 3.9.1 or higher, as it will be automatically disabled after the update.

Link to comment
Share on other sites

Ability to configure default player volume and enable videos loop

 

In 3.9.1 there were 2 new options added to player settings:

 

1) Volume - here you can configure default player volume or mute it by default.

2) Loop - you can enable loop for all videos or videos shorter than the given number of seconds.

 

player_volume_and_loop.png.2e72fcb5913c200222a103ff96adc7eb.png

Link to comment
Share on other sites

Import issue with incorrectly downloaded files fixed

 

Today we have fixed an important issue with videos and albums import.

 

Prior to 3.9.1 if KVS import fails to download video (or album) files from the imported URL, video record was still created in the database and of cause it failed during conversion because of invalid source file. Restarting such errors would not process videos anyway. In order to re-import failed videos you would have to delete them before trying import again.

 

After the fix, videos and albums which files failed to be downloaded will not be imported and will fail during import stage. This means that you don't need to delete them and you can simply submit the same import once again. The new import will avoid duplicates and will only try to import the failed content again.

 

Here are failed content downloads in imports log (Errors column):

import_issue.thumb.png.bbf3205982ad6f14997b90cf8e9a4ddf.png

 

This bugfix will benefit those who are using grabbers to upload content, since KVS will automatically reject videos which failed to be downloaded due to protection or network issue and will try to grab them during the next iteration.

Link to comment
Share on other sites

2. Blue color Verified badge means - If I set trusted flag for a user. a verification check mark on site like: on xvideos.com, Pornhub, YouTube For user

https://support.google.com/youtube/answer/3046484?hl=en

Its a feature of Tube site in today market users love that

 

I second that, I'd love to see this feature. I'd also like to see exclusive badge like Pornhub, for members who upload videos exclusive to your website.

Link to comment
Share on other sites

I second that, I'd love to see this feature. I'd also like to see exclusive badge like Pornhub, for members who upload videos exclusive to your website.

 

That's supported already.

 

In list_members block template you can use this code for each member to show badge:

{{if $item.is_trusted==1}}

Trusted

{{/if}}

 

In video_view / album_view block template you can use this code:

{{if $data.user.is_trusted==1}}

Trusted

{{/if}}

 

In member_profile_view block template you can use this code:

{{if $data.is_trusted==1}}

Trusted

{{/if}}

Link to comment
Share on other sites

Thanks! What about VAST support for the kvs player? So you can integrate stream ads, is that already a feature or is that upcoming?

 

VAST is not planned for 3.9.1, sorry. We are about to put our latest fixes in player and the version will be out for beta testing.

We will consider VAST in 3.9.2.

 

Please note if VAST is critically important for you it is possible to use 3rd party player in KVS. But you will lose some KVS player features then. But later it will always be possible to switch back to KVS player when VAST support will be added. Feel free to contact support if you need help in integrating 3rd party player.

Link to comment
Share on other sites

Now possible to specify partner ref in grabbers for embed codes and pseudo videos

 

In grabbers for the sites which support partner program you can now specify URL postfix that will be added to embed URL or pseudo video URL. It is expected that you can specify your ref there, so that all visitors from these embeds / pseudo videos are counted to your account:

 

grabbers_ref.thumb.png.60428527ae8a25eb090466afa53f1717.png

Link to comment
Share on other sites

The good news is that 3.9.1 implementation will be completed soon and update will be available for beta testing.

 

Meanwhile one of the last cool features we have added to 3.9.1 is ability to pay tokens to users for traffic on videos / albums uploaded by them. You can configure the amount of assigned tokens for each N unique views (unique view means unique IP address within 24 hours).

 

The new settings are available in Settings -> Memberzone settings section:

tokens_for_traffic1.thumb.png.baa2a46f1dedb705f69fb8a26a4bd5e6.png

 

The important note here is that tokens are assigned per each video / album of a user. For example if you configured to pay 10 tokens for each 1000 views and user has 2 videos with 500 unique views each, the award will not be assigned. Only after any of the videos gets 1000 unique views, award will be created for this video and user will get 10 tokens. If this video hits 2000 views, one more award will be created and user will get 10 more tokens and etc. for each 1000 unique views.

 

Awards can be viewed in Stats -> Awards section of admin panel:

tokens_for_traffic2.thumb.png.918f38b63b6f13836f467882fc264c8a.png

 

Tokens earned by users can be spent on purchasing access to premium content, or paid out using KVS payouts feature.

Link to comment
Share on other sites

Hi,

 

- I think it's a good idea to auto activated comments when we already activated a comment previously...

For example if we already activated a comment for user: A and that user A post again a comment it will auto approved and show on the website without moderation...

What you think?

 

- Also need to fix the player thumbnails problem because at the moment there are black borders at the left & right of the player when the player is not in full screen mode...

can't you do a fix for it? to make the thumbnails fit to the player size?

 

Thanks

Link to comment
Share on other sites

- I think it's a good idea to auto activated comments when we already activated a comment previously...

 

Good idea, we will add this option to comments blocks.

 

- Also need to fix the player thumbnails problem because at the moment there are black borders at the left & right of the player when the player is not in full screen mode...

 

There should not be any problem with that. By default poster image is scaled to the whole player size. Please submit a support ticket and specify URL where you see this issue. Also make sure that KVS support is enabled in admin panel.

Link to comment
Share on other sites

One of the most important bugfix in 3.9.1 is related to remote storage servers. After 3.9.0 we found two issues which may be critical:

 

1) Some browsers do caching of redirects to remote storage servers up to 24 hours and if user returns back to the same video after some time but earlier than browser cache expires, the video may not be played. The same issue can arise with CDN as well.

 

This issue was fixed in the new player version, which will generate random parameter every 1 hour so that caching invalidates faster and coming back to the same video will not use the obsolete redirect anymore.

 

2) There was found protection issue in remote control script, which can allow users to gain unrestricted access to some content or share protected temporary links, which can still be valid for some time.

 

This was fixed by implementing a completely new remote control script protection method by IP, similarly to what we previously did for main server in 3.9.0. In order to have this new feature enabled, it is required to update remote control script to the latest 3.9.1 version and then enable this option in storage server settings in admin panel:

 

remote_server_protection.thumb.png.07a6365294f9626c7cf2ab5015ec733f.png

 

Unfortunately this can't be done automatically with KVS update, so if you need this extended level of access protection, you will have to update remote_control.php on all remote storage servers manually.

 

NOTE: you only need this if your video files are stored on remote server and need to be protected from unauthorized access, otherwise you can skip this, since this won't affect you.

Link to comment
Share on other sites

In 3.9.1 we have also enhanced flexibility of access level restriction for videos and albums.

 

Previously you could only configure access level for private and premium videos. Starting from 3.9.1 it is now possible to configure the same for public videos as well. Not needed for tube sites, but can be useful for paysites:

content_access_level.png.16315e789607947823d988b4cc9ccd58.png

 

This access level is option that affects how video / album page is displayed to users, whether they can see player and play video or not:

 

content_access_level_example.png.0bcb798f702310575212f06d9c4e14d3.png

 

And additionally we also added ability to change these access rules for individual videos or albums.

For example if you want this video to remain public, but to be accessible for premium members only. Then you can simply switch individual video access level to require premium membership status:

content_access_level_video.png.5be21552370b38b10036c974839e7896.png

 

 

Link to comment
Share on other sites

Good to know about remote storage servers fix.

 

Would it be possible to let us display video duration on site like in admin? For example to show 1:20:54 instead of 80:54. I couldn't figure out why it's showed differently on frontend.

 

 

Link to comment
Share on other sites

Hi,

 

some feedback

 

Languages Icon design

Video Large Player Screen Icon. - Just have Full Screen feature

Video Replay Button

 

Grabber also should grab comments:: Not all comments just grab first 10 comment with KVS user Anonymous..

 

 

Link to comment
Share on other sites

Would it be possible to let us display video duration on site like in admin? For example to show 1:20:54 instead of 80:54. I couldn't figure out why it's showed differently on frontend.

 

Yes, thanks for reminding about this. This is coming from ancient times when there was no videos longer than 10 minutes uploaded to web.

We have added support for additional variable in the following format: 1:20:54 into 3.9.1.

 

In order to update your theme with this you should use Website UI -> Search templates function. Search for:

 

{{$lang.videos.list_label_duration|replace:"%1%":$item.duration_array.minutes|replace:"%2%":$item.duration_array.seconds}}

 

Couple of templates may be found. Replace with:

{{$item.duration_array.text}}

 

Then search for:

{{$lang.videos.video_details_value_duration|replace:"%1%":$data.duration_array.minutes|replace:"%2%":$data.duration_array.seconds}}

 

Should be 1 template for video view block. Replace with different string:

{{$data.duration_array.text}}

 

Should work for tablet theme as well.

 

NOTE: will be supported only starting from 3.9.1

Link to comment
Share on other sites

Hi,

 

some feedback

 

Languages Icon design

Video Large Player Screen Icon. - Just have Full Screen feature

Video Replay Button

 

Grabber also should grab comments:: Not all comments just grab first 10 comment with KVS user Anonymous..

 

 

Video Large Player Screen Icon - this is not a player function. Player is located inside a page and it cannot affect page layout, because this layout is different in many cases. This means player can not know how to switch itself into "large screen". If you want this, you can add this button into player via javascript, style it with custom CSS styles and configure its behavior according to your design structure.

 

Video Replay Button - was added already into the updated player style.

 

Grabber also should grab comments - this was already added to our list from your request earlier, but not planned for 3.9.1.

 

Languages Icon design - we will consider this.

 

Thanks.

 

 

Link to comment
Share on other sites

A small enhancement was added into theme lang files processing to allow randomizing texts in specific cases for better SEO coverage. The most common areas are rendering page titles for tags and search pages, which can potentially have big volume.

 

For example in tags page title is defined via this text:

html.videos_by_tag_title = Videos Tagged with %tag%

 

where %tag% is a token replaced with the real tag value. So there will be set of page titles like this:

Videos Tagged with funny

Videos Tagged with tag2

Videos Tagged with tag3

and etc.

 

Of cause you can easily change the word order to have something like this:

funny videos

tag2 videos

tag3 videos

 

Now with the new feature you can make these titles look a bit more randomized by using [rand]text1 || text2 || text3 || ... [/rand] bbcode. Here is an example:

html.videos_by_tag_title = [rand]HQ || Best || Cool || High quality[/rand] %tag% videos [rand]for mobiles || in high quality || for iphone[/rand]

 

Here are texts that will be displayed by KVS:

HQ funny videos for iphone

Cool tag2 videos in high quality

Best tag3 videos for mobiles

and etc.

 

Here are key points for this feature:

  • You can have any number of random groups in the text, like 2 random groups in the above example.
  • For each random group KVS will choose 1 item randomly.
  • For the same tag the random item will be always same, e.g. for tag funny it will always be "HQ funny videos for iphone". But if you modify this text in any way or change random groups, all the texts will be randomized again.
  • This can only be used in page titles, descriptions and keywords (Website UI -> Texts -> filter by Group = SEO).
  • This only makes sense for dynamic texts, e.g. for texts which have tokens (like %tag%, %category%, %model%, %query% and etc.).

For search results page this won't happen automatically after the update due to template specific. In order to enable support for using random blocks in search results title / desc / keywords you should go to Website UI -> Pages -> Search Content page template and find these:

 

{{assign var="page_title" value=$lang.html.search_title|replace:"%query%":$storage.search_results_similar_searches.search_keyword}}
{{assign var="page_description" value=$lang.html.search_description|replace:"%query%":$storage.search_results_similar_searches.search_keyword}}
{{assign var="page_keywords" value=$lang.html.search_keywords|replace:"%query%":$storage.search_results_similar_searches.search_keyword}}

 

For each you should add |replace_tokens at the end:

{{assign var="page_title" value=$lang.html.search_title|replace:"%query%":$storage.search_results_similar_searches.search_keyword|replace_tokens}}
{{assign var="page_description" value=$lang.html.search_description|replace:"%query%":$storage.search_results_similar_searches.search_keyword|replace_tokens}}
{{assign var="page_keywords" value=$lang.html.search_keywords|replace:"%query%":$storage.search_results_similar_searches.search_keyword|replace_tokens}}

Link to comment
Share on other sites

Here is our last enhancement for 3.9.1.

 

Completely redone pre-roll and post-roll advertising. The issue on Android devices in Chrome was fixed. Also pre-roll and post-roll ads now have skip feature configurable from admin panel. You can configure whether skip is allowed, when it is allowed and what texts should be displayed:

player_pre_roll_options.png.6d0497e5378dd449b16abc5202e37a16.png

 

Here is how it is displayed in player. For video ads it also features pause and mute buttons. For image / HTML ads these buttons will be hidden:

player_pre_roll.png.ff12af98d978337208bdbc3b6ff01d15.png

 

And also added youtube style player skin!

player_yt_skin.png.de93d432cd9877ca4994b8cf7e797cbf.png

Link to comment
Share on other sites

Thank you so much for this design :):):) but the Large Screen not :confused: by the way Thanks

 

 

And also added youtube style player skin!

[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"player_yt_skin.png","data-attachmentid":278}[/ATTACH]

 

 

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.

Guest
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...