GithubHelp home page GithubHelp logo

Comments (8)

ajlkn avatar ajlkn commented on June 9, 2024

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.

oshihirii avatar oshihirii commented on June 9, 2024

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.

ajlkn avatar ajlkn commented on June 9, 2024

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.

oshihirii avatar oshihirii commented on June 9, 2024

hmm, still getting that message when image thumbnails are present.

dynamic example with thumbnails here:

http://jsfiddle.net/oshihirii/rDrc2/

from jquery.poptrox.

ajlkn avatar ajlkn commented on June 9, 2024

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.

oshihirii avatar oshihirii commented on June 9, 2024

Hmm, my setup:

Chrome 33.0.1750.117 m:

chrome

Firefox 27.0.1:

firefox

from jquery.poptrox.

oshihirii avatar oshihirii commented on June 9, 2024

I just updated to v2.3.3 and don't seem to be getting that error any more. Closing issue.

from jquery.poptrox.

ajlkn avatar ajlkn commented on June 9, 2024

Ah, cool :)

from jquery.poptrox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.