Hacker News new | ask | show | jobs
by TrueDuality 3492 days ago
Looks like it's got some bugs preventing it from working.

You're loading the videos over HTTP while hosting your site on HTTPS which will result in the iframe being blocked. This is a security issue anyway and should be corrected.

Also looks like you're using localStorage and sessionStorage without checking to see if they're available.

1 comments

hi @TrueDuality. I updated the code over the last hour - so probably those were the bugs. yes - currently it's hosted over http (github-pages) - however - it functions correctly without it. regarding localStorage - currently, I assume modern browsers are used - it works on Chrome (desktop - Mac, Windows / android). Thanks for the feedback.
Modern browsers can have no localStorage available too. See: https://gist.github.com/JohnAllsopp/1470989