1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Let Subscription and PPV plugins support live

This commit is contained in:
Daniel Neto 2023-11-27 13:29:08 -03:00
parent e52be42f5c
commit e648c2d51c
22 changed files with 732 additions and 333 deletions

View file

@ -1245,6 +1245,9 @@ function avideoAlertOnceForceConfirm(title, msg, type) {
}
function _avideoToast(msg, icon) {
if(empty(msg)){
msg = '';
}
// Average reading speed: around 200 words per minute (or 3.3 words per second)
var wordsPerSecond = 2;
var words = msg.split(' ').length;