Is Andromo optimized for HTML5 video embedding?
I've tried .mp4 .ogg and .webm. None of them will work when I add the zip file into an Andromo app. Is there some other format that I have to use with Andromo? I know my HTML code is correct, it works just fine in a browser but not in an app.
Is Andromo not yet optimized for HTML5 video embedding?
Is Andromo not yet optimized for HTML5 video embedding?
Comments
@pixelpower That is exactly what it did for me as well.
It's been a while since I looked into it, so the details are a little fuzzy, but it's basically an issue where the audio/video files need to be exposed so that the media player can access them from the app's assets. It's a little tricky though given the abstract nature of the HTML Archive activity. We'll see what we can do with it in the future.
Those are the only ones off the top of my head that I'm aware of, or have experienced. Of course there may be others that fall into that realm though, and that being external apps (beyond the web widget) that need access to files you're trying to use.
There may also be features/functionality you see in the Android Browser application that don't work in Andromo's web widget. We use Android's WebView widget in our implementation. While the WebView widget is the core of the Android browser, it's feature set is limited by default, so additional functionality needs to be added to it. So there will likely be differences there.
We're looking into ways to allow video embedding, but it seems you can only fit about 45 seconds into 12 MB at normal phone-recorded resolutions with medium settings. So, you'd only be able to embed one rather short video... Which is why Android really tries to push you towards streaming.
But, let us know. If there is enough demand, we'll keep looking.
@coilnadams Mainly i was just toying around with some HTML5 coding and one of the first thinks I decided to try was video embedding. I don't necessarily need to use it since, as you pointed out, streaming will save space. My main issue here was that if video embedding was not available through the archive activity, then what other HTML/HTML5 functions were not available as well. from darryl's post it seems that most everything else should work just fine. Could you confirm this?
My only problem is that when videos start to play you cant quite make them stop. If the user hits the back button to exit out of fullscreen mode the video will exit but the sound will continue to play in the background. If the app is closed the video uis still playing in the background. Only way to shut it down is to force close the app or go back to the video list and access a new video.
Other than that it works great for me, i have hours and hours of video that my app accesses using the RSS widget.
here's my app... https://play.google.com/store/apps/details?id=com.andromo.dev245078.app228620
Based upon the size of your app (2.5M) it appears to me that what your are doing is placing in a video tag to stream a video from an already online source. That is not what I was trying to achieve. I appreciate the feedback though and keep it up with the apps!
I was recently experimenting with the zip archive feature and was able to embed a flash movie (sort of).
I exported the flash animation using the flash to createjs feature and it created a series of files for me. I then packaged them up as a single zip file and the result is that it looks like a flash animation. But really just a series of embedded files.