Comments (8)
tmp is the result of a match() being performed on the href attribute. If
it's null, the regexp must be failing somehow. Do the URLs you're trying
work with a conventional (static) poptrox setup?
On 2/25/2014 5:33 PM, oshihirii wrote:
I'm auto generating links in multiple poptrox containers:
http://jsfiddle.net/oshihirii/E2GZR/
And coming across this error:
TypeError: tmp is null x.src = x.prefix + '://www.youtube.com/embed/'
- tmp[2]; jquery.poptrox.js (line 701)
It doesn't seem to effect operation in the jsFiddle (and therefore
may not be a problem) but just wondering if it could possibly cause
issues in a more complicated scenario as I am troubleshooting an
issue in such a scenario (link not available) and trying to narrow
down the cause.--- Reply to this email directly or view it on GitHub:
#2
from jquery.poptrox.
Good idea.
They don't and I also tried the URL's used in the demo and they are causing the same error.
I've recreated the static scenario here:
http://jsfiddle.net/oshihirii/Q8ELn/
In addition to the dynamic scenario here:
http://jsfiddle.net/oshihirii/E2GZR/
An anomaly from the demo is that both the above examples use a class as a selector (as opposed to an id) which occurs more than once (as opposed to one instance).
from jquery.poptrox.
Ah, I think it might be failing because there isn't a thumbnail inside
the anchors.
On 2/26/2014 8:16 AM, oshihirii wrote:
Good idea.
They don't and I also tried the URL's used in the demo and they are causing the same error.
I've recreated the static scenario here:
http://jsfiddle.net/oshihirii/Q8ELn/
Reply to this email directly or view it on GitHub:
#2 (comment)
from jquery.poptrox.
hmm, still getting that message when image thumbnails are present.
dynamic example with thumbnails here:
http://jsfiddle.net/oshihirii/rDrc2/
from jquery.poptrox.
Weird, that example seems to be working fine here.
On 2/27/2014 8:11 AM, oshihirii wrote:
hmm, still getting that message when image thumbnails are present, dynamic example with thumbnails here: http://jsfiddle.net/oshihirii/rDrc2/
Reply to this email directly or view it on GitHub:
#2 (comment)
from jquery.poptrox.
Hmm, my setup:
Chrome 33.0.1750.117 m:
Firefox 27.0.1:
from jquery.poptrox.
I just updated to v2.3.3 and don't seem to be getting that error any more. Closing issue.
from jquery.poptrox.
Ah, cool :)
from jquery.poptrox.
Related Issues (20)
- Touch navigation (mobiles) HOT 6
- Feature Request: support for history pushState and popState HOT 1
- popup windows sizing HOT 1
- Poptrox doesn't work with jQuery 3.1.0 HOT 2
- Ajax Result (append <li>...</li>): Uncaught TypeError: Cannot read property 'object' of undefined HOT 2
- Dynamically added captions doesn't show in the pop up modal
- Add a counter
- increase image dimensions if image is smaller than browser window HOT 1
- Gallery fails to load using jQuery 3.0.0+ HOT 2
- popupIsFixed: true is ignored
- vimeo url
- Fixed pop up, cant zoom or scroll in image HOT 1
- Fullscreen button for lightbox
- Lightgallery closes automatically when I click a nav arrow
- Background scrolling
- Moving navs outside of lightbox
- Soundcloud playlist
- Gallery on top of gallery?
- Adding an element
- How to add hyperlinks in captions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.poptrox.