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:
parent
e52be42f5c
commit
e648c2d51c
22 changed files with 732 additions and 333 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue