You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2014/09/01 10:11:20 UTC

[jira] [Updated] (CB-7440) Media-capture manual tests fails on Windows8/8.1/WP8.1 due to APi misalign

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

Vladimir Kotikov updated CB-7440:
---------------------------------
    Description: 
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
{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.

  was:
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.


> 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
> {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.



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