Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
boundlessdreamz
on April 4, 2011
|
parent
|
context
|
favorite
| on:
Show HN: jsgif: A GIF player in JavaScript
Wouldn't you be able to create an image tag dynamically and then use that? I'm not sure if you can get a callback when the image is loaded though.
user24
on April 4, 2011
[–]
No; calling getImageData on an image tag with an external src will fail with a cross domain warning :(
You can set up an onload handler on an image though, yeah.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: