Jump to content

Recommended Posts

Posted

Hello,

I see there is some sites that support this feature, user watch some videos and there is section something like "Recently watched" or "History watched videos"

Is this feature available for KVS ?

Thank you

Posted
On 11/16/2024 at 4:59 PM, Tanjiro said:

I see there is some sites that support this feature, user watch some videos and there is section something like "Recently watched" or "History watched videos"

Yes, this is supported by KVS but not available in the default theme. This can be displayed by list_videos block with mode_history parameter switched on.

One issue with this functionality is that it will be updated within 5 minutes, e.g. the history display has some delay due to stats update delay. May be fixed in future.

 

On 11/17/2024 at 5:45 AM, Tanjiro said:

Oh, and the feature that can fast forward 10 seconds before and after, I hope KVS could update this

What is this feature about?

  • Like 1
Posted
1 hour ago, Tech Support said:

What is this feature about?

It's like youtube, double tap to fast forward & rewind 10 seconds or button that has same feature like that

image.png.e59e750843f7408ed0a04c67a699dbb8.png

 

Posted
On 11/17/2024 at 2:45 AM, Tanjiro said:

Oh, and the feature that can fast forward 10 seconds before and after, I hope KVS could update this

in my kvs i added this function but it was necessary to pay for it

Posted
20 hours ago, Tanjiro said:

It's like youtube, double tap to fast forward & rewind 10 seconds or button that has same feature like that

KVS player API supports skipping, but there are no GUI options for this available except for timeline.

You can add the following code to implement skipping actions:

<script>
	player_obj.listen('ktVideoProgress', function(time) {
		player_obj['currentTime'] = time;
	});

	function player_seek(value) {
		player_obj.seek(parseInt(player_obj['currentTime']) + value);
	}
</script>

<a onclick="player_seek(10)">Skip forward</a>
<a onclick="player_seek(-10)">Skip backward</a>

 

  • Like 1
Posted
8 hours ago, Tech Support said:

KVS player API supports skipping, but there are no GUI options for this available except for timeline.

You can add the following code to implement skipping actions:

<script>
	player_obj.listen('ktVideoProgress', function(time) {
		player_obj['currentTime'] = time;
	});

	function player_seek(value) {
		player_obj.seek(parseInt(player_obj['currentTime']) + value);
	}
</script>

<a onclick="player_seek(10)">Skip forward</a>
<a onclick="player_seek(-10)">Skip backward</a>

 

such a simple function and I was charged 30 dollars by HTML script to add this function, I feel like an idiot now 🙃

  • Confused 1
Posted
5 hours ago, Tech Support said:

You still need to integrate it into design somehow, this is not easy as it may look.

Indeed, although you gave the code but I have no idea how to set it and where to put it in

Also I need to put it in this position (and only this position) but I have no idea how to put it in, there literally no space for it (on mobile)

image.png.18f6f7c711ee342c918c736faa365e1d.png

 

Posted
On 11/19/2024 at 6:39 PM, PeladaNet said:

such a simple function and I was charged 30 dollars by HTML script to add this function, I feel like an idiot now 🙃

Who charged 30 dollars?

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