Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Commit

Permalink
fixed youtube demo link
Browse files Browse the repository at this point in the history
  • Loading branch information
yairEO committed Nov 24, 2015
1 parent aa41dc3 commit f846d32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions demo.js
Expand Up @@ -16,7 +16,7 @@
},
{
title: "PEOPLE ARE AWESOME 2014",
url: "https://www.youtube.com/watch?v=LVn8ei8d4iU",
url: "https://www.youtube.com/embed/LVn8ei8d4iU",
thumb: "http://img.youtube.com/vi/LVn8ei8d4iU/0.jpg"
},
{
Expand Down Expand Up @@ -53,8 +53,10 @@
// lazy show the photos one by one
img.onload = function(e){
img.onload = null;

var link = document.createElement('a'),
li = document.createElement('li')
li = document.createElement('li');

link.href = this.largeUrl;

link.appendChild(this);
Expand Down

0 comments on commit f846d32

Please sign in to comment.