Community Questions & Answers
Playing YouTube using Titanium.Media.VideoPlayer
Is it possible to play a YouTube video using Titanium.Media.VideoPlayer? Currently I am using Titanium.UI.WebView to play the video. The reason why I want to use Titanium.Media.VideoPlayer is because: 1) I don't want user to have to click on the play to...
Get dimensions (width and height) of video file on Android
Has anyone succesfully retrieved width + height from a video on Android? If yes, how? I've spent the past five hours Googling and searching Q&A for an answer, but no luck. Things I've tried. * Loading video into Ti.MediaVideoPlayer - does not report...
WMV streaming module/solution
Hi, Does anybody know about any available solution (open source or proprietary) for streaming Windows Media Video and Audio with Ti for iPhone & Android ?
setCurrentPlaybackTime() and seeking video
I am using SDK 2.1.4 with iOS6. When I do `vidPlayer.setCurrentPlaybackTime(100 * 1000);` nothing happens. That should seek to 100 seconds into my video if that method indeed takes milliseconds. I saw this thread:...
MPJEG - iOS6.1, preferred approach
What is preferred approach for playing a MPJEG on iOS...? I tried videoPlayer on iOS6.1 (simulator and device) with no luck. Soon as it goes to load the mjpeg it closes the window. ~~~ var activeMovie = Titanium.Media.createVideoPlayer({ autoplay :...
Window video intro don't close
Hi, I need some help please. I'm trying to put a video in my app that plays only the first time. It works perfect except that when the video finishes playing does not close the window. ~~~ var tabGroup=Ti.UI.createTabGroup(); var win1 =...
Use native api in a Ipad app with Titanium
Hello i created a SVOD application for a client, and for V2 he require a DRM Secured Video Player (BuyDRM) How can i use this native API (provided by BuyDRM) in my Titanium project? Thanks by advance
Titanium 1.8.1 (iOS 5) videoPlayer background controls not working.
Hi everyone, I'm trying to make my videplayer available in the background using this answer:...
How to enable app users to upload video
Hi all How is the best way to allow a user to either take a video and upload via our app, or to just upload their existing video in our app? Also, is there a way to tell the length of the video and/or limit it..eg. no more than 20 seconds. Thanks in...
can not open video from gallery in android device and in emulator
Can any one help to get video in the gallery... So many developer are not able to select video from gallery using the method Titanium.Media.MEDIA_TYPE_VIDEO; Titanium.Media.openPhotoGallery({ success : function(event) { Ti.API.debug('Our type...
Select video
Hi I am trying to use Titanium.Media.openPhotoGallery to select a video. The simple code is ~~~ Titanium.Media.openPhotoGallery({ success:function(event){}, cancel:function(){}, error:function(){alert("There was a problem...
How to get Video duration
How can I get the Video duration of video selected from gallery...? ======== Thanks
WebView on Android cannot not play YouTube video and cannot set size
I have none of this problems on iPhone. But, on Android doing the following will have two problems. 1: It will show the embedded YouTube video, but when I touch "play" it will only play the sound not the video. 2: I cannot set...
Making the server for uploading the data
Hi I have to make an app in which i have to upload the video,documents and images using titanium.I have to make the server myself too.So i am worried about because i have never made the server myself.Could anybody tell me which server suits me best for...
Recording video in Android
Hi, I've read on these forums that recording video is not currently supported in Android. The final version of my app does need to incorporate this feature; but I could hold off if video recording is in the pipeline. Is there some knowledge of a time line...
Play video on TV
I would like to know if it is possible to play a video that is on the iPad on a samsung smart tv. I would like to do the same as the iMediaShare app do. Thanks, Nicolas Messager
Get recorded video's name.
Hello, Is there any way to get the filename of the recorded video ? I have used ~~~ var intent = Titanium.Android.createIntent({ action : 'android.media.action.VIDEO_CAPTURE' }); ~~~ method to capture the video. The video is successfully saved in the...
How to find out how many times a file has been viewed on ACS?
Hi, I'm currently building a video sharing app and I wanna know the number of views on each video, how can I do that? Is there a way to find out how many api calls did a certain file get? Thanks a lo. I really appreciate it. Abdul
showCamera recorded video edited via. allowEditing doesn't work
Recording a video using Ti.Media.showCamera, with allowEditing enabled, does not result in the edited / trimmed video, but instead the video in its entirety. This has been asked 3 years ago, but no answer, so I'm asking it again. Is this a bug, or is...
Facebook video uploads?
Has anyone had any luck performing a video upload to Facebook yet? I've been going round and around for hours now on this and just wondering if anyone has had any success at all? I keep getting a "Video file format is not supported" error.
Android sound streaming
Hi. I'm trying to find a way to stream audio on android, It works perfectly on iOS but on Android just don't play. Here's the code: ~~~ win = Ti.UI.createWindow({ backgroundColor:'transparent', }) var url =...
Video Gallery
Hi , i would like to know if it is possible to get a video gallery for my application because it seems that the only gallery possible to implement is the photogallery What can i do to display videos and then choose a video like the photogallery?
How to read Audio/Video file and transform to text/wordarray for Encryption?
Titanium: 3.0 HTML5 I am currently using sjcl (http://crypto.stanford.edu/sjcl/) to encrypt/decrypt html5 content used on an iOS app. I am embedding source images and encrypting the text content of the html and then decrypting in the app to display,...
Get file from inside DCIM > Camera
Hello all, I want to get a video file that is saved in Camera folder of DCIM of SDcard. How can I do it ? Can anyone help me out? I am able to get files that are in app's directory. But I want to get the file from DCIM > Camera folder. Thanks.
Auto video recording in Android.
Hi All, I want to make an app for android, where I need to record video Automatically for a fixed amount of time. And to do this I got a module...
Android video recording problem
Hi all, I have recorded video in Android and now want to save the recorded file in my app's data directory. Currently the file is being saved inside DCIM (Gallery) folder with its own naming format. How can I save the recorded file in app data directory...
Insert BLOB to sqlite then read out to new file
I have audio/video/images I need to extract blob data out and insert into database, then delete the original files. This is for a mobile app, I then need to read the blob data back into a new file. Could someone tell me how (or if) I can read the...
play embedded video in android in web view
I want to play video in android web view. I am using embedded HTML code to open it in android web view. My device has flash player installed in it. when I play the video then I am getting sound of video but there is no picture or video displaying. please...
stream video using HTML embedded code in web view in android 2.3.5
I want to stream video using streamingvideoprovider.co.uk api's. I am able to stream video successfully in iPhone but unable to do it in android. I am using player embedded code in web view and this is the link of video. [Lolz watch...
Bug in video player?
I have developed a super simple app for a client, that is basically a branded video player. Now i am experiencing an annoying bug on iOS 6 (iPad). The app is in fullscreen mode (IE no status bar is shown). If i finish playing a video with the video...
iPad videoplayer exits fullscreen when closed
I've developed a simple videoplayer-app to be used at an exhibition. It consists of six icons at the home page of the app, and when you press an icon a video is played. The home screen is ran in fullscreen mode. If i play a movie and it is finished (or...
How to record video to a remote server
I would like to build a cross-platform feature that will record video/audio directly to a remote server. Could someone point me in the right direction?
Need Help Video Post at facebook
Hi friends, I need help(example of video post at facebook). I'm using httpclient but posting videos at "https://graph-video.facebook.com/me/videos". passing access token and file as blob. But some times it post to facebook and some time through...
iPad problem with videoplayer
This is all code i have ~~~ var win = Ti.UI.createWindow(); win.orientationModes = [Titanium.UI.LANDSCAPE_LEFT,Titanium.UI.LANDSCAPE_RIGHT]; win.backgroundImage = 'bg.png'; win.fullscreen = true; var mv1 = Ti.UI.createView(); mv1.width = 306; mv1.height...
How is a VideoPlayer View completely removed from a Window. Android
The Window has a Red background color and the videoPlayer has Blue. The Blue background color is still showing even after removal of the videoPlayer View. Its like the Android Surface Object hasn't be removed. Why is this and how can I fix so that the...
Fast Forward on Video?
Hi Guys, I am new at Titanium Appcelerator, just asking if how or it is possible to fast forward a video o set the speed of video? thanks
rtsp - example for video streaming not working on android emulator
hey guys, I am trying to use rtsp for online video streaming. An example is given in kitchen sink but its not working. Any help will be appreciated
ScrollableView Videoplayer problem..
Hi ,Folks I m using Titanuim 3.0 Sdk and developing ios 6 and now develop for ipad 2. My problem is I have scrollableview and my code from KitchenSink example and I added Multiple image and mulitple video. image there is no problem.But the video is...
Unable to run .3gp video file with videoPlayer
Hi All, I am trying to run a .3gp file in video player. Doesn't it support this file format? I have successfully run the other file formats like .mov, .mp4, .m4v. Any idea about .3gp file format? Thanks in advance. - Harshad
Play video in WebView Android
if I try to open a video in a html page loaded into a webview will not start. MyApp https://play.google.com/store/apps/details?id=it.cisl.federicoluzi&feature=search_result#?t=W251bGwsMSwyLDEsIml0LmNpc2wuZmVkZXJpY29sdXppIl0. If I open the page...
Play Video in Webview on Android
Hello, I have download file and saved file in externalStorageDirectory. Video does not play on webview. Video have sound only. What I need to do? index.html ~~~ <video id="video" autobuffer height="240"...
youtube video is not playing inside android-webview
~~~ // this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // create tab group var tabGroup = Titanium.UI.createTabGroup(); // // create base UI tab and root...
Remote video (vimeo,dailymotion) not playing inside Android- Webview
I am using Titanium sdk 2.1.2. Android sdk 2.2 .I have tried following ways ~~~ var window = Titanium.UI.createWindow(); var webView = Titanium.UI.createWebView({ url:'http://player.vimeo.com/video/27401683', //...
Kindle
Has TI improved Kindle support? Specifically for video playback? I know there were issues when playing video on a Kindle Fire in the past, anyone know if this has been resolved? Thanks in advance.
Youtube Video Display in Android
Hi all, I am working on retrieving YouTube Playlist to display the list of videos. So somebody help me how to achieve this.
createVideoPlayer not rendering in android 2.3 and emulator
I'm trying to play videos from sdcard in an android 2.3 device, but all i get is a black screen. the player play the audio but is not displaying the image, all i have is the video song and a black screen my code is: ~~~ this.movie =...
How to play youtube vedios in anndroid?
Hi everyone i am listing the videos from the YouTube playlist into the table row. i am facing problem when i click on the video , video is not playing.. so plz any one tell me how to play video in android. for my code plz check the following...
iPhone : Back from the video
Hi, I have no more idea, I've tried many things but I don't have result. I open a videoPlayer in a new window on iPhone. The only thing I want is a way to go back to my application from the video. Someone now how I can do it ?
unable to play .3gp video in the iPhone
Hi, I have developed an app in appcelerator where i need to play the .3gp and youtube videos inside the app in a view using videoplayer. .mp4 video plays well in the app but the problem is the app is not able to play .3gp and youtube video. ~~~ var...
Different media format supported by Titanium.Media API
I am trying to build a very simple video player and here is my code ~~~ var vidWin = Titanium.UI.createWindow({ title : 'Video View Demo', backgroundColor : '#fff' }); var videoPlayer = Titanium.Media.createVideoPlayer({ height: '400', width:...