[ 
https://issues.apache.org/jira/browse/CB-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov closed CB-7440.
--------------------------------
    Resolution: Fixed

> Media-capture manual tests fails on Windows8/8.1/WP8.1 due to APi misalign
> --------------------------------------------------------------------------
>
>                 Key: CB-7440
>                 URL: https://issues.apache.org/jira/browse/CB-7440
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media Capture
>            Reporter: Vladimir Kotikov
>              Labels: media-capture, windows, wp8.1
>
> Capture manual tests fails on Windows 8/8.1/WP8.1 due to API misalign in 
> CaptureProxy.
> Details:
> 1. Capture methods captures files to user's profile folders, instead of local 
> app’s folders so these files can't be accessed via src="" attribute.
> 2. Capture methods returns MediaFile objects without fullPath property.
> 3. Capture methods returns MediaFile objects with localURL field set to 
> file's full path.
> Proposed solution: 
> 1. Return url with ms-appdata// for nativeURL/localURL property
> {noformat}
> @param nativeURL
>     {DOMString} an alternate URL which can be used by native
>     webview controls, for example media players.
>     (optional, readonly)
> {noformat}
> 2. fullPath – same as above but w/o msappdata://prefix or native Windows full 
> path.
> with these changes both of fullPath of localURL can be successfully resolved 
> by File plugin after CB-7413 resolution 
> (https://github.com/apache/cordova-plugin-file/pull/70)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to