Title: Installed plugin throwing error
Last modified: August 21, 2016

---

# Installed plugin throwing error

 *  Resolved [craftyintentions](https://wordpress.org/support/users/craftyintentions/)
 * (@craftyintentions)
 * [12 years ago](https://wordpress.org/support/topic/installed-plugin-throwing-error/)
 * Hi, I just installed the plugin but it is throwing a javascript error in my console
   on every page of my site. I haven’t actually loaded any videos in yet. It’s showing:
 * Resource interpreted as Script but transferred with MIME type text/html: “[http://www.mysite.co.uk/wp-content/plugins/lazy-load-for-videos/frontend/?ver=3.5.1&#8221](http://www.mysite.co.uk/wp-content/plugins/lazy-load-for-videos/frontend/?ver=3.5.1&#8221);.(
   index):3762
 * Uncaught SyntaxError: Unexpected token < [http://www.mysite.co.uk/:1](http://www.mysite.co.uk/:1)
 * The file it is referring to on the line above is [http://www.mysite.co.uk/wp-content/plugins/lazy-load-for-videos/frontend/?ver=3.5.1](http://www.mysite.co.uk/wp-content/plugins/lazy-load-for-videos/frontend/?ver=3.5.1)
 * If I deactivate the plugin, the error goes away.
 * I’m using the latest version of Chrome, on Windows 7.
 * Please could you let me know how to fix this, or if you know what might be causing
   it?
 * Thanks,
    Sarah
 * [https://wordpress.org/plugins/lazy-load-for-videos/](https://wordpress.org/plugins/lazy-load-for-videos/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [kevinweber](https://wordpress.org/support/users/kevinweber/)
 * (@kevinweber)
 * [12 years ago](https://wordpress.org/support/topic/installed-plugin-throwing-error/#post-4851967)
 * Hi Sarah,
 * are you sure, that this error is caused by Lazy Load for Videos?
    I’ve recreated
   this error on my test site and yes, there is your mentioned error: It occurs 
   as soon as in an Youtube video an advertisement is displayed. This error also
   occurs when I’ve deactivated this plugin and I simply watch the same Youtube 
   video (without lazy loading). So, it seems to be an error caused by Youtube or
   for some other reason, but not by Lazy Load for Videos.
 * Best regards,
 * Kevin

Viewing 1 replies (of 1 total)

The topic ‘Installed plugin throwing error’ is closed to new replies.

 * ![](https://ps.w.org/lazy-load-for-videos/assets/icon.svg?rev=3348904)
 * [Lazy Load for Videos](https://wordpress.org/plugins/lazy-load-for-videos/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lazy-load-for-videos/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-load-for-videos/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-load-for-videos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-load-for-videos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-load-for-videos/reviews/)

## Tags

 * [frontend](https://wordpress.org/support/topic-tag/frontend/)
 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [kevinweber](https://wordpress.org/support/users/kevinweber/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/installed-plugin-throwing-error/#post-4851967)
 * Status: resolved