Quantcast
Viewing latest article 2
Browse Latest Browse All 8

Help or example code on simply playing video full screen

I am building a simple app that gets a list of remote mp4 videos, which I need to play full screen when a thumbnail image is clicked. If the video finishes OR the user clicks the "done" button, I need to go back to the list of videos.

This is on IOS for now, but I will be putting it on android next.

I've spent hours going over what is in the kitchen sink code, and searching this forum.

The issues I have is getting back to the list of videos after the video finishes or the user clicks done. (I have completed event listeners, and full screen event listeners, but even if the video is started full screen, the user can exit full screen but still have the video open, so then the full screen listeners don't work, plus the full screen events don't just happen on closing, they also trigger when you enter full screen.)

I thought I was there with just linking to the videos within a web view, but on IOS 4.3.1 devices, the app crashes after the video plays. (It works fine on older versions of the OS.)

Next I thought I'd use the HTML5 video tag in a webview, which works how I want, but I can't get rid of the triangle play icon that sits on top of the poster thumbnail.

If anyone can provide sample code or advise, I'd be VERY grateful.

Thanks,

Peter


Viewing latest article 2
Browse Latest Browse All 8

Trending Articles