[
https://issues.apache.org/jira/browse/CB-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)
`<allow-navigation href="cdvfile:*" />` 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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]