===== NEWS ===== * http://rzr.online.fr/q/html5# Hey #TiZen do you know how to perform a #CORS / #XmlHttpRequest through WebApp SDK ( using "file:" origin )? * http://rzr.online.fr/q/html5# Can you SuggesT cool #HtmL5 sites to test on #MeeGo/#HarmattaN on #n9 #n950club on #qt #WebKit or #mozilla g ? * Fail : http://html5.grooveshark.com/#/search/FILASTINE ===== XmlHttpRequest ===== Edit: Answer is : git diff config.xml diff --git a/config.xml b/config.xml index 98b3a9a..f4e0c11 100644 --- a/config.xml +++ b/config.xml @@ -44,5 +44,6 @@ - transig + transig + http://rzr.online.fr/q/html5# Hey #TiZen do you know how to perform a #CORS / #XmlHttpRequest through WebApp SDK ( using "file:" origin )? How to use XmlHttpRequest from local file and prevent Origin null is not allowed by Access-Control-Allow-Origin. ? I am in the process of creating a tizen app , and I want to perform a http query from my app , but it looks this is unsecure ... This action seems very basic, so I might have miss something ? I can explain further and provide a sample code if needed More to come later : I will provide a sample code if needed ... XMLHttpRequest cannot load $URL. Origin null is not allowed by Access-Control-Allow-Origin. WorkAround: * I guess running a local webserver would unblock this null's Origin restriction... * ifames hacks ? donno if it it possible or not , anyway it is ugly * tunning browser parms , ie for chromium "--allow-file-access-from-files" or MozillA settings FeedBack WelCome: * http://appdeveloper.intel.com/en-us/forums/how-use-xmlhttprequest-local-file-and-prevent-origin-null-not-allowed-access-control-allow-or * http://stackoverflow.com/questions/4208530/xmlhttprequest-origin-null-is-not-allowed-access-control-access-allow-for-file/11816516#11816516 Some hints : * http://tools.ietf.org/html/rfc6454#section-7.1 * http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/#origin-and-base-url * http://stackoverflow.com/questions/4208530/xmlhttprequest-origin-null-is-not-allowed-access-control-access-allow-for-file * https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.help.web.api.w3c%2Fw3c_api.html * https://developer.mozilla.org/en-US/docs/HTTP_access_control * http://enable-cors.org/ * http://stackoverflow.com/questions/5138057/cross-origin-resource-sharing-and-file * http://stackoverflow.com/questions/5396527/error-origin-null-is-not-allowed-by-access-control-allow-origin-when-loading * http://stackoverflow.com/questions/3595515/xmlhttprequest-error-origin-null-is-not-allowed-by-access-control-allow-origin * http://makall.wordpress.com/2012/07/03/running-elev8-on-tizen-emulator/ * http://www.mobile-seo.de/archiv/517-english-intel-appuptm-encapsulator-2-0-xmlhttprequests-cors.html * http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/ * http://appdeveloper.intel.com/de-de/forums/jquery-mobile-and-encapsulator * http://wiki.greasespot.net/GM_xmlhttpRequest if (origin != null) { resp.setHeader("Access-Control-Allow-Origin", origin); } else { resp.setHeader("Access-Control-Allow-Origin", "*"); } ===== API ===== === CANVAS === * http://weavesilk.com/ * http://www.philipashmore.com/html5/timeline/# CanvaS === AUDIO / MULTIMEDIA === * http://www.html5rocks.com/en/tutorials/webaudio/intro/ * http://chromium.googlecode.com/svn/trunk/samples/audio/index.html# AudiO * http://stackoverflow.com/questions/7233973/working-example-for-mediaelementaudiosourcenode-with-chrome-canary * http://stackoverflow.com/questions/10791457/is-getusermedia-for-audio-recording-work-now * http://airtightinteractive.com/demos/js/reactive/# AudiO FreQ ChromE * http://tizentalk.com/forum/threads/web-radio-streaming.18/#post-140# ToDo RadiO * https://bugs.tizen.org/jira/browse/TDIST-228# AudiO TaG * http://codebase.es/riffwave/# AudiO DatA * http://html5-demos.appspot.com/static/webaudio/createMediaSourceElement.html * https://www.w3.org/TR/html-media-capture/ === MULTIMEDIA === WEBRTC's GetUserMedia : needs to be enabled using : about:flags * http://www.tizenexperts.com/2012/06/tizen-developer-conference-2012-tizen-webapis-webapp-development/# 15m30 * http://stackoverflow.com/questions/4825405/the-media-capture-api-any-existing-implementations * https://bugs.tizen.org/jira/browse/TDIST-36 * http://code.google.com/p/chromium/issues/detail?id=112367 * http://jsfiddle.net/DerekL/JV996/# AudiO VideO SourcE ExamplE * http://jsfiddle.net/rzrfreefr/JV996/26/# navigator.webkitGetUserMedia * http://jsfiddle.net/rzrfreefr/HE7m3/ * http://www.w3.org/TR/2010/WD-capture-api-20100401/ * http://www.webmonkey.com/2012/06/javascript-decoder-brings-high-quality-audio-to-the-web# AudiO * http://www.html5rocks.com/en/tutorials/getusermedia/intro/ * http://blog.zencoder.com/2014/07/28/html5-video-and-the-end-of-plugins-recording-uploading-and-transcoding-video-straight-from-the-browser/