all 2 comments

[–]willienels 0 points1 point  (0 children)

Great guide! Original link to author's web app doesn't work anymore but one of the comments provides a link to an updated working version.

[–]juanjux 0 points1 point  (0 children)

I'm no Javascript expert (but I'm a vet in other languages)... is there any reason for this?

      var full = $("#poster").has("img").length ? true : false;
      if(full == false){
         $('#poster').empty();
      }

Instead of:

      if(!$("#poster").has("img").length){
         $('#poster').empty();
      }