[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-25 Thread Paul Cervenka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539423#comment-13539423
 ] 

Paul Cervenka commented on CB-2088:
---

thank you very much - playing in fullscreen works now.

but the other issue described in CB-1957 is still there.

when you play a move and hit the "done" button, the inAppBrowser disappears as 
expected, but the audio is still playing.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
> Attachments: CB-01.png, CB-02.png, CB-03.png, CB-04.png, IAB-01.png, 
> IAB-02.png, IAB-03.png
>
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-22 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538892#comment-13538892
 ] 

Shazron Abdullah commented on CB-2088:
--

Found the culprit! Comment out this line: 
https://github.com/apache/cordova-ios/blob/7f6d64375a1db8158cdd3a225270bfec3288be27/CordovaLib/Classes/CDVInAppBrowser.m#L348

I will revert this, and re-open CB-1957

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
> Attachments: CB-01.png, CB-02.png, CB-03.png, CB-04.png, IAB-01.png, 
> IAB-02.png, IAB-03.png
>
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-22 Thread Paul Cervenka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538890#comment-13538890
 ] 

Paul Cervenka commented on CB-2088:
---

thank you very much & happy holidays! =)

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
> Attachments: CB-01.png, CB-02.png, CB-03.png, CB-04.png, IAB-01.png, 
> IAB-02.png, IAB-03.png
>
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-22 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538889#comment-13538889
 ] 

Shazron Abdullah commented on CB-2088:
--

Thanks Paul. I'm away right now for the winter break but I will get to this 
again when I have time/when I get back to work.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
> Attachments: CB-01.png, CB-02.png, CB-03.png, CB-04.png, IAB-01.png, 
> IAB-02.png, IAB-03.png
>
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-22 Thread Paul Cervenka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538781#comment-13538781
 ] 

Paul Cervenka commented on CB-2088:
---

in the screenshots you can see a test-case.
ChildBrowser (CB): in CB-02 you can see the "full screen" control.
InAppBrowser (IAB): in IAB-02 you can see the "full screen" control too.

I tested it in iOS6 - and you can see the results CB-03 and IAB-03 after using 
the full-screen control.



> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
> Attachments: CB-01.png, CB-02.png, CB-03.png, CB-04.png, IAB-01.png, 
> IAB-02.png, IAB-03.png
>
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537508#comment-13537508
 ] 

Shazron Abdullah commented on CB-2088:
--

I used video files from Apple: http://support.apple.com/kb/HT1425 and confirmed 
they do play using the  tag.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537504#comment-13537504
 ] 

Shazron Abdullah commented on CB-2088:
--

No repro - I tried with the ChildBrowser, it fails as I expected (I also 
inspected the CB code, nothing special going on there). Please provide a 
concrete example (post a download that I can run - index.html, video asset, 
etc) so we can replicate the same conditions. Also - not too sure what you are 
talking about "select it to view in fullscreen mode", there is no such option.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537485#comment-13537485
 ] 

Shazron Abdullah commented on CB-2088:
--

Note: I believe the ChildBrowser being referred to is 
https://github.com/alunny/ChildBrowser not from phonegap-plugins repo



> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537397#comment-13537397
 ] 

Shazron Abdullah commented on CB-2088:
--

Thanks - I'll try to repro on ChildBrowser and see what is the difference with 
both.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Paul Cervenka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537391#comment-13537391
 ] 

Paul Cervenka commented on CB-2088:
---

the code is similar to your's
{code:title=ChildBrowser}
var url = "video.m4v";
window.cordova.exec(onEvent, onError, "ChildBrowser", "showWebPage", [url, 
options]);
{code}
{code:title=inAppBrowser}
var url = "video.m4v";
window.open(url, '_blank')
{code}

When the video is displayed - all works as expected. but when you use the 
"fullscreen" function from the control-bar, the video disappears in the 
inAppBrowser.

We're using only MP4 videos, because safari supports only MP4 
(http://www.w3schools.com/html/html5_video.asp). I expect the UIWebView 
supports the same. 

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537376#comment-13537376
 ] 

Shazron Abdullah commented on CB-2088:
--

So what's your test code? The description is vague for a repro on my end.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Paul Cervenka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537371#comment-13537371
 ] 

Paul Cervenka commented on CB-2088:
---

We're using the ChildBrowser for an inHouse iPad App to display Videos, PDF, 
etc.
With CB, the video fullscreen works as expected but we're want to switch to the 
inAppBrowser,
so I've tested this use-cases.


> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537345#comment-13537345
 ] 

Shazron Abdullah commented on CB-2088:
--

I don't think this method of viewing a video file is supported in a UIWebView 
outside of a  tag in an HTML document. Workaround to create this 
dynamically is to use the File API to write HTML to a file (containing the 
video tag, src of video file is an absolute url), and load that in the 
InAppBrowser.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537342#comment-13537342
 ] 

Shazron Abdullah commented on CB-2088:
--

Error log:

2012-12-20 12:13:31.476 CordovaTest[33900:c07] webView:didFailLoadWithError - 
Plug-in handled load
2012-12-20 12:13:31.545 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Enabling autoplay
2012-12-20 12:13:31.545 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Likely to keep up or full buffer: 0
2012-12-20 12:13:31.545 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Skipping autoplay, not enough buffered to keep up.
2012-12-20 12:13:31.545 CordovaTest[33900:c07] setting movie path: 
file:///Users/shazron/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/8C56D49D-A51C-43FF-9951-A3D455E49E61/CordovaTest.app/www/video.mov
2012-12-20 12:13:31.546 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Enabling autoplay
2012-12-20 12:13:31.549 CordovaTest[33900:c07] [MPCloudAssetDownloadController] 
Prioritization requested for media item ID: 0
2012-12-20 12:13:32.199 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Enabling autoplay
2012-12-20 12:13:32.206 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Likely to keep up or full buffer: 1
2012-12-20 12:13:32.208 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Enabling autoplay
2012-12-20 12:13:32.221 CordovaTest[33900:c07] [MPAVController] Autoplay: 
_streamLikelyToKeepUp: 0 -> 1
2012-12-20 12:13:32.222 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Disabling autoplay for pause
2012-12-20 12:13:32.222 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Disabling autoplay
2012-12-20 12:13:32.244 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Disabling autoplay for pause
2012-12-20 12:13:32.244 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Disabling autoplay
2012-12-20 12:13:32.318 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Enabling autoplay
2012-12-20 12:13:32.321 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Likely to keep up or full buffer: 0
2012-12-20 12:13:32.321 CordovaTest[33900:c07] [MPAVController] Autoplay: 
Skipping autoplay, not enough buffered to keep up.

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2088) inAppBrowser - view a video file in fullscreen mode

2012-12-20 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537341#comment-13537341
 ] 

Shazron Abdullah commented on CB-2088:
--

To repro: 
{code}
window.open('video.mov', '_blank')
{code}

> inAppBrowser - view a video file in fullscreen mode
> ---
>
> Key: CB-2088
> URL: https://issues.apache.org/jira/browse/CB-2088
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.3.0
>Reporter: Paul Cervenka
>Assignee: Shazron Abdullah
>
> open a video file with inAppBrowser and select it to view in fullscreen mode: 
> an empty inAppBrowser is now visible (and no video).
> tested on iPad iOS6 simulator & device with Cordova 2.3.0-RC2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira