mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added small log for errorhandler
This commit is contained in:
@@ -4,11 +4,11 @@ RewriteBase /
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_URI} !(/$|\.)
|
||||
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
|
||||
RewriteCond %{REQUEST_URI} !(/$|\.)
|
||||
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule /(.*)$ /$1 [L]
|
||||
|
||||
Options -Indexes
|
||||
Options -Indexes
|
||||
|
||||
@@ -223,7 +223,10 @@ function getTitle(titt, v)
|
||||
function errorHandler(newState)
|
||||
{
|
||||
if(video_id !== undefined)
|
||||
{
|
||||
console.log("errorskip");
|
||||
socket.emit("skip");
|
||||
}
|
||||
}
|
||||
|
||||
function onPlayerReady(event) {
|
||||
|
||||
Reference in New Issue
Block a user