-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot read property 'match' of undefined #376
Comments
You are missing the |
Show a problem "Uncaught TypeError: Cannot read property 'match' of undefined at Plugin.isVideo" . when one image included, it's work properly but more than one images than It's not work properly and error show when one image: <div class=" js-lightgallery">
<a href="{{fullUrl}}" data-src="{{fullUrl}}">
<img src="{{fullUrl}}" data-name="{{name}}" title=""/>
</a>
</div> when images <div class=" js-lightgallery">
<a href="{{fullUrl}}" data-src="{{fullUrl}}">
<img src="{{fullUrl}}" data-name="{{name}}" title=""/>
</a>
<a href="{{fullUrl}}" data-src="{{fullUrl}}">
<img src="{{fullUrl}}" data-name="{{name}}" title=""/>
</a>
<a href="{{fullUrl}}" data-src="{{fullUrl}}">
<img src="{{fullUrl}}" data-name="{{name}}" title=""/>
</a>
</div> js: $(".js-lightgallery").lightGallery({
thumbnail:true,
animateThumb: true,
download: false
}); |
Please provide the URL of your website or a jsFiddle which demonstrates your issue. |
hey I am getting the same error ,what should i do? |
|
lightgallery.js:417 Uncaught TypeError: Cannot read property 'match' of undefined
Here is example http://jsfiddle.net/1tygp6sk/1/
The text was updated successfully, but these errors were encountered: