cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] cordova-plugin-file git commit: CB-9851 Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on Windows
Date Thu, 05 Nov 2015 01:52:58 GMT
Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master a26070f43 -> 2045608e3


CB-9851 Document cdvfile protocol quirk - using cdvfile:// in the DOM is not supported on
Windows


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/667462ec
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/667462ec
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/667462ec

Branch: refs/heads/master
Commit: 667462eccd9489cefdaebbb66ebf174e2c36512a
Parents: 0e68665
Author: daserge <v-seshak@microsoft.com>
Authored: Fri Oct 23 13:50:33 2015 +0300
Committer: daserge <v-seshak@microsoft.com>
Committed: Fri Oct 23 13:50:33 2015 +0300

----------------------------------------------------------------------
 README.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/667462ec/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index d58cd85..3eec6ac 100644
--- a/README.md
+++ b/README.md
@@ -442,7 +442,7 @@ You can also use `cdvfile://` paths directly in the DOM, for example:
 <img src="cdvfile://localhost/persistent/img/logo.png" />
 ```
 
-__*Note__: This method requires following Content Security rules updates:
+__Note__: This method requires following Content Security rules updates:
 * Add `cdvfile:` scheme to `Content-Security-Policy` meta tag of the index page, e.g.:
   - `<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap:
`**cdvfile:**` https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src
*">`
 * Add `<access origin="cdvfile://*" />` to `config.xml`.
@@ -473,6 +473,10 @@ var my_media = new Media('cdvfile://localhost/temporary/path/to/file.mp3',
...);
 my_media.play();
 ```
 
+#### cdvfile quirks
+- Using `cdvfile://` paths in the DOM is not supported on Windows platform (a path can be
converted to native instead).
+
+
 ## List of Error Codes and Meanings
 When an error is thrown, one of the following codes will be used.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message