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

Windows: Titanium.Media.MEDIA_TYPE_VIDEO not working.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.1.1
    • Fix Version/s: Release 7.5.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      SDK 7.1.0
      windows 10
      Surface Pro

    • Story Points:
      13
    • Sprint:
      2018 Sprint 15 SDK, 2016 Sprint 17 SDK, 2018 Sprint 18 SDK, 2018 Sprint 19 SDK, 2018 Sprint 20 SDK

      Description

      Hello !
      I am having problem to take video from Appcelerator windows 10 app Surface Pro . Titanium.Media.MEDIA_TYPE_VIDEO not working now.

      var win = Ti.UI.createWindow({
          backgroundColor: '#fff'
      });
       
      var btnTakeMovie = Ti.UI.createButton({ title: 'title_take_video', top: 10, left: 5 });
       
      win.add(btnTakeMovie)
       
      btnTakeMovie.addEventListener('click', function (e) {
          Titanium.Media.showCamera({
              success: function (event) {
                  Ti.API.info('success');
              },
              cancel: function () {
                  Ti.API.info('cancel');
              },
              error: function (error) {
                  Ti.API.info(JSON.stringify(error));
              },
              mediaTypes: [Titanium.Media.MEDIA_TYPE_VIDEO],
              videoMaximumDuration: 1000000,
              videoQuality: Titanium.Media.QUALITY_HIGH
          });
      });
       
      win.open();
      

      Above code doesn't give me option for video.

      Test Environment:
      SDK 7.1.0
      windows 10
      Surface Pro

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                aislam Aminul Islam
                Reviewer:
                Gary Mathews
                Tester:
                Samir Mohammed
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6329
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code