Javascript-форум (https://javascript.ru/forum/)
-   Библиотеки/Тулкиты/Фреймворки (https://javascript.ru/forum/library-toolkit-framework/)
-   -   SOS! Не работает скрипт на сайте и не запускается видео (https://javascript.ru/forum/library-toolkit-framework/69422-sos-ne-rabotaet-skript-na-sajjte-i-ne-zapuskaetsya-video.html)

Arin 21.06.2017 11:55

SOS! Не работает скрипт на сайте и не запускается видео
 
Добрый день!
Большая просьба, кто сможет помочь!:help:
Переносили с одного сайта на другой стартовую страницу и что-то потерялось видимо, видео никак не запускается. Внизу скрипт работает, т.е. названия показываются, но само видео не запускается. Помогите понять причину!!!

j0hnik 21.06.2017 12:56

Код:

scripts.js:64 Uncaught TypeError: $(...).mCustomScrollbar is not a function
    at HTMLDocument.<anonymous> (scripts.js:64)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)
/favicon.ico Failed to load resource: the server responded with a status of 404 (Материал не найден)
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:18 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:18
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:18
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:27 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:27
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
(anonymous) @ scripts.js:27
dispatch @ jquery.min.js:4
r.handle @ jquery.min.js:4
scripts.js:27 Uncaught TypeError: jQuery(...).mCustomScrollbar is not a function
    at scripts.js:27
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)

исправьте ошибочки, и все заиграет!

Arin 21.06.2017 13:04

спасибо за ответ
очень плохо разбираюсь в скриптах, правильно ли что mCustomScrollbar.min.js не был подключен, сейчас подключила, ничего не изменилось.

j0hnik 21.06.2017 14:43

Код:

scripts.js:108 Uncaught TypeError: jQuery.validate is not a function
    at HTMLDocument.<anonymous> (scripts.js:108)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)
scripts.js:30 Uncaught TypeError: jQuery.validate is not a function
    at scripts.js:30
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)
scripts.js:30 Uncaught TypeError: jQuery.validate is not a function
    at scripts.js:30
    at dispatch (jquery.min.js:4)
    at r.handle (jquery.min.js:4)

остались еще ошибки

ошибки на сервере я посмотреть не могу

Arin 21.06.2017 15:40

а что эти ошибки могут значить?
не может найти какие-то переменные или что-то другое?

Arin 22.06.2017 08:45

и подскажите пожалуйста как можно самой посмотреть ошибки?
через какой-то сервис смотрите или через отладчик браузера?

j0hnik 22.06.2017 14:41

ctrl+shift+i в хроме и опере.


Часовой пояс GMT +3, время: 19:18.