Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27138

Android: There is no way to capture/upload video in WebView

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Ti 8.0.1, Android

      Description

      Besides the issue with camera permissions (See https://jira.appcelerator.org/browse/TIMOB-25854). There is no way to upload video from a WebView

      https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview/TiWebChromeClient.java#L250

      prepareFileChooserIntent does not take into account WebChromeClient.FileChooserParams and always creates a MediaStore.ACTION_IMAGE_CAPTURE intent and file chooser for * / * file types. As a result there is no way to create MediaStore.ACTION_VIDEO_CAPTURE or set restrictions to the file types the user is allowed to choose from

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              nipoul Nikos Poulios
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code