[jira] [Commented] (CB-9774) File Transfer download cdvfile fails

2015-12-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034217#comment-15034217
 ] 

ASF subversion and git services commented on CB-9774:
-

Commit 785abbfc3f36172a733f219f3f17f89ec4e2db72 in cordova-mobile-spec's branch 
refs/heads/master from [~daserge]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=785abbf ]

CB-9774 File Transfer download cdvfile fails


> File Transfer download cdvfile fails
> 
>
> Key: CB-9774
> URL: https://issues.apache.org/jira/browse/CB-9774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: Test Device: Google nexus 5
>Reporter: lijingjing
>Assignee: Sergey Shakhnazarov
>  Labels: reproduced, triaged
>
> Test Steps:
> 1.Install the mobile spec app
> 2.Launch it and click manual tests File-Transfer--->Download and Display 
> img/video(cdvfile)-
> Expected Outcome:
> img/video should play when paly is pressed.
> Actual Outcome:
> img/video don't play.
> error log:
> {code}
> Refused to load media from 'cdvfile://localhost/temporary/small.mp4' because 
> it violates the following Content Security Policy directive
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9774) File Transfer download cdvfile fails

2015-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15034219#comment-15034219
 ] 

ASF GitHub Bot commented on CB-9774:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-mobile-spec/pull/134


> File Transfer download cdvfile fails
> 
>
> Key: CB-9774
> URL: https://issues.apache.org/jira/browse/CB-9774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: Test Device: Google nexus 5
>Reporter: lijingjing
>Assignee: Sergey Shakhnazarov
>  Labels: reproduced, triaged
>
> Test Steps:
> 1.Install the mobile spec app
> 2.Launch it and click manual tests File-Transfer--->Download and Display 
> img/video(cdvfile)-
> Expected Outcome:
> img/video should play when paly is pressed.
> Actual Outcome:
> img/video don't play.
> error log:
> {code}
> Refused to load media from 'cdvfile://localhost/temporary/small.mp4' because 
> it violates the following Content Security Policy directive
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9774) File Transfer download cdvfile fails

2015-11-16 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15006964#comment-15006964
 ] 

ASF GitHub Bot commented on CB-9774:


GitHub user daserge opened a pull request:

https://github.com/apache/cordova-mobile-spec/pull/134

CB-9774 File Transfer download cdvfile fails

[Jira issue](https://issues.apache.org/jira/browse/CB-9774)

`` is neede for Android only.
Playing video via `cdvfile` in video tag `src` is not supported.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-mobile-spec CB-9774

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-mobile-spec/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #134


commit 7defc48f45ef61f76ce1284d67a591d7afc86e4d
Author: daserge 
Date:   2015-11-16T17:21:07Z

CB-9774 File Transfer download cdvfile fails




> File Transfer download cdvfile fails
> 
>
> Key: CB-9774
> URL: https://issues.apache.org/jira/browse/CB-9774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: Test Device: Google nexus 5
>Reporter: lijingjing
>Assignee: Sergey Shakhnazarov
>  Labels: reproduced, triaged
>
> Test Steps:
> 1.Install the mobile spec app
> 2.Launch it and click manual tests File-Transfer--->Download and Display 
> img/video(cdvfile)-
> Expected Outcome:
> img/video should play when paly is pressed.
> Actual Outcome:
> img/video don't play.
> error log:
> {code}
> Refused to load media from 'cdvfile://localhost/temporary/small.mp4' because 
> it violates the following Content Security Policy directive
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9774) File Transfer download cdvfile fails

2015-11-10 Thread Sergey Shakhnazarov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14999234#comment-14999234
 ] 

Sergey Shakhnazarov commented on CB-9774:
-

Image is being fixed by adding cdvfile: to CSP rules and  to config.xml as described in the [file plugin 
docs|https://github.com/apache/cordova-plugin-file#cdvfile-protocol]. Although 
it does not fix the video tag - such an error occurs in logcat:

{noformat}
E/(  124): Failed to open file 
'cdvfile://localhost/temporary/small.mp4'. (No such file or directory)
E/StagefrightMetadataRetriever(  124): Unable to create data source for 
'cdvfile://localhost/temporary/small.mp4'.
{noformat}

> File Transfer download cdvfile fails
> 
>
> Key: CB-9774
> URL: https://issues.apache.org/jira/browse/CB-9774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 3.5.0
> Environment: Test Device: Google nexus 5
>Reporter: lijingjing
>Assignee: Sergey Shakhnazarov
>  Labels: reproduced, triaged
>
> Test Steps:
> 1.Install the mobile spec app
> 2.Launch it and click manual tests File-Transfer--->Download and Display 
> img/video(cdvfile)-
> Expected Outcome:
> img/video should play when paly is pressed.
> Actual Outcome:
> img/video don't play.
> error log:
> {code}
> Refused to load media from 'cdvfile://localhost/temporary/small.mp4' because 
> it violates the following Content Security Policy directive
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org