[TIMOB-7129] MobileWeb: Complete Ti.Media implementation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-22T16:08:09.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-01-12T10:44:19.000+0000 |
Updated | 2017-03-03T23:35:21.000+0000 |
Description
Partial implementation. Only listing the missing methods/constants.
Extends Evented.
Methods:
* beep() - use audio tag, download wav/mp3 as data uri?
* createAudioPlayer() - streams audio
* createSound() - downloads full file into memory, but we may need to stream anyways with audio tag
* vibrate() - Spec: http://www.w3.org/TR/2012/WD-vibration-20120202/
Constants:
* MEDIA_TYPE_PHOTO - value is "public.image"
* MEDIA_TYPE_VIDEO - value is "public.video"
Can't support openPhotoGallery(), saveToPhotoGallery(), showCamera(), takePicture(), or takeScreenshot().
No support currently for VIDEO_SCALING_ASPECT_FILL and VIDEO_SCALING_MODE_FILL.
Unable to support all events: linechange, recordinginput, and volume.
Update API docs with supported methods/properties/constants.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1795
Merged above PR, but leaving this ticket open so we can revisit the other APIs later.
Closing ticket as MobileWeb is no longer supported.