Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2013] [iphone VideoPlayer] Youtube and Dailymotion Video, streaming works bad

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-26T11:54:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios, ios4, iphone, streaming, video, videoplayer, webview
Reporterviviboss
AssigneeNeeraj Gupta
Created2011-04-15T03:08:05.000+0000
Updated2012-07-26T22:15:26.000+0000

Description

Hi,

Trying to loadVideo from Dailymotion, and at the end ofvideo the player don't close.

I tried the code in a webview, trying everything possible (like createmy own VideoPlayer, etc) and nothing seems to work well.

Here an error code i found when i'm trying to access a video from DailyMotion :

[ERROR] Error loading: http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_aac.mp4?auth=1286359242-5b9ffeecf87b09b31ce5d5d0456dd448&;helper=0"> http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_a..., Error: Error Domain=WebKitErrorDomain Code=204 "Plug-in handled load" UserInfo=0x8a8c9d0 {NSErrorFailingURLStringKey=http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_aac.mp4?auth=1286359242-5b9ffeecf87b09b31ce5d5d0456dd448&;helper=0">http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_a..., WebKitErrorMIMETypeKey=video/mp4, NSErrorFailingURLKey=http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_aac.mp4?auth=1286359242-5b9ffeecf87b09b31ce5d5d0456dd448&;helper=0">http://proxy-33.dailymotion.com/video/158/897/23798851%3amp4_h264_a..., NSLocalizedDescription=Plug-in handled load}

Here the code i use in a html file, called by Ti.UI.createWebView({url:"file.html"}) :

<iframe frameborder="0" width="100" height="80" src="http://www.dailymotion.com/embed/video/xe63b7"></iframe>

Comments

  1. viviboss 2011-04-15

    EDIT :

    Youtube works well

  2. Stephen Tramer 2012-07-26

    Cannot reproduce SDK 2.2.0.014b86f, iPhone Sim 5.1. Test code:
       var win = Ti.UI.createWindow();
       win.add(Ti.UI.createWebView({
       	html:'<iframe frameborder="0" width="100" height="80" src="http://www.dailymotion.com/embed/video/xe63b7"></iframe>'
       }));
       win.open();
       

JSON Source