News for hackers. Stuff that matters.
Re:Show HN: Simple Minimal YouTube Alternative Player (no ad... by TrueDuality on Tuesday November 29, 2016 @09:52AM (#13063330)
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.

Re:Show HN: Simple Minimal YouTube Alternative Player (no ad... by orizens on Tuesday November 29, 2016 @10:01AM (#13063391)
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.
Re:Show HN: Simple Minimal YouTube Alternative Player (no ad... by egeozcan on Tuesday November 29, 2016 @10:40AM (#13063671)
Modern browsers can have no localStorage available too. See: https://gist.github.com/JohnAllsopp/1470989