<
ram...@mangosense.com> writes:
> Hi All,
> I am evaluating node-webkit for e-publishing platform. The app is
> going to be a cross platform, so i thought it would be a great fit. I am
> able to run the current chrome app with few changes in node-webkit. It
> worked like a charm. But then i found the major trouble with mp3 codecs. As
> per this post
>
https://github.com/rogerwang/node-webkit/wiki/Support-mp3-and-h264-in-video-and-audio-tag ,
> dud to licencing issues nw doesn't supply the necessary codecs to play
> mp3.
Though nw doesn't ship with any MP3 codec, you can add it on your own if
you have the patent license. The way to add it is listed on the wiki.
>
> So i though i could distribute the flash player with the app and let the
> flash take care of mp3 playing part. So i have downloaded flash .so file
> (for linux) and put it in the plugins folder. And I have verified the
> "navigator.plugins" in javascript. It loaded just fine. But now i am facing
> another issue. Flash seems to not to load the local .swf files due to
> security reasons. I got the following error
>
> *An ActionScript error has occurred:*
> *SecurityError: Error #2060: Security sandbox violation: ExternalInterface
> caller file:///home/yoxb/work/pubber/scripts/Jplayer.swf cannot access
> file:///home/yox/work/pubber/index.html.*
I'll see whether there is a workaround for this error.
--
Roger WANG Intel Open Source Technology Center