FlashJunior / OSFlashVideoPlayer

Open source flash video player An embeddable "all in one" Player (FLV, F4V, MOV, MP4, vimeo and youtube).
http://www.flashjunior.ch/archiv/flvplayer/
Other
104 stars 27 forks source link

Preview Image requires security permissions as data #24

Open arthur-debert opened 13 years ago

arthur-debert commented 13 years ago

When loading the preview image on domains you do not control, currently the player requires that the crossdomain allows for usage as data. This is not the case all the time.

The current fix tries to use addChild(loader.content) and if the error is thrown, it fallsback to addChild(loader), which has the drawback of not allowing the image to be smoothed when scale, but al least it will show up.

Best regards

arthur-debert commented 13 years ago

Oops, this issue tracker does not allow for patches. I've put mine on a gist here: http://gist.github.com/507282

[]s

FlashJunior commented 13 years ago

please make a fork and a pull request. THX!