cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Resolved] (CB-6152) MediaFile Not Compatible with new File Plugin
Date Tue, 15 Apr 2014 19:34:15 GMT


Ian Clelland resolved CB-6152.

    Resolution: Fixed

I've implemented this now; the MediaFile objects are being constructed correctly as File objects.
(File objects have a localURL property, which can be resolved to get a new FileEntry for them).

The MediaFile.fullPath property is maintained, and should be something like a file url that
can be used as a src attribute for a <video> tag (as before)

> MediaFile Not Compatible with new File Plugin
> ---------------------------------------------
>                 Key: CB-6152
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer, Plugin Media Capture
>            Reporter: Matthew Keable
>            Assignee: Ian Clelland
> The latest release of the File and File Transfer plugins (1.0.0 & 0.4.1 respectively)
now use the cdvfile:// protocol to reference files.
> The Media Capture plugin (0.2.7) does not offer the new toURL() method for the returned
MediaFile objects.

This message was sent by Atlassian JIRA

View raw message