Hacker News new | past | comments | ask | show | jobs | submit login

I'm curious about this too, but haven't been able to figure it out. I want to do some extremely basic detection on user specified videos and it'd be really slick to do it entirely in the browser.

Unless someone has a trick I haven't thought of though, I think I'll have to download it first which isn't nearly as cool :/




It's annoying because it's just the same-origin thing stopping it working.

I see there is an origin parameter[1] which sounds like it is nearly what is needed.

I don't know exactly what CORS setting is needed to make this work though.

[1] https://developers.google.com/youtube/player_parameters#orig...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: