I am trying to port libGDX game to iOS with RoboVM.
I have converted .ogg files to .caf files. All converted .caf files work on Mac.
The problem is that some of .caf files are not played back on my iPad (still work on the iPhone). Android and Desktop versions of this game have no issues with audio.
Related
I am recording MP3 using phonegap in an app. Storing the MP3 in a database Base64 Encoded. I can retrieve those records, save them to an MP3 file on phone or computer and play them. Media in phonegap works as well as the local players. What does not work is either
1) playing them directly as base64 on a windows computer in a browser or
2) saving to an MP3 file on the server and playing through the browser.
I gave up and switched to a download button, which works, by storing the MP3 file locally and playing it using the local audio player.
the HTML format I used is
for the file the source was the file path relative to the web root
For the base64 it was "data:audio/mpeg;base64,..."
In all cases it did not work, and the controls were either grayed out or had an error on them.
The solution that works for browser, android, and ios is to use m4a format. In cordova phonegap I used cordova-media-with-compression
I'm trying to make my anime-streaming website FLV videos playable on mobile device, so I changed the technology I'm using from flash to HTML5 MP4, webM and OGG.
But while I'm surfing this site - which is using jwPlayer - from my Android device:
Here
I found that the video is working well although it is using FLV?
Can anyone explain how this could happen?
It is a feature of JWplayer. It will detect when Flash is not supported and switch to HTML5.
This is from their website:
JW Player is tested on the world’s most popular desktop browsers to
ensure the best playback experience for your viewers. From IE8 to the
latest version of Chrome, on Windows and OS X we ensure that any user
can watch your content. JW Player always selects the best playback
mode for your media behind the scenes.
http://www.jwplayer.com/products/jwplayer/html5-and-flash/
I found that the video is working well although it is using FLV ?!
Please, can anyone explain how could this happen ?
Are you saying FLV because it is Flash? Did you know Flash itself can play MP4 files anyway? Looking at the source code I see MP4 video files provided so I think they are just using Flash Player app to play MP4 files where plugin is available or else then using HTML5 for mobile etc.
Test by disabling Flash Plugin in mobile browser settings, you should now see an HTML5 player instead for handling exact same file that Flash app was playing.
So to answer : How is this Flash video playable on mobile devices [using JWPlayer]?
You have a mobile with Flash Plugin installed and you visited a page that had a video player app made with Flash to play some MP4 files. Your mobile is flash capable so it worked and you watched some MP4 file using a Flash decoder instead of an HTML5 decoder.
MP3 files stopped working in Mobile Safari in iOS 8 (8.0.2 as of today). They won't play when I link directly to them. They won't play when I put them in proper HTML5-compliant audio tags.
Both used to work with iOS 7. (Autoplay doesn't but that's by design.)
Any recommendations for a workaround?
In my website there is video uploading facility. When User uploads video , My code convert the video format from (mp4,wmv,3gp,avi) to .flv format after compressing video size.
on desktop format, everything is working fine. But on mobile browser I haven't get an good player for playing .flv files in all browsers. Can somebody will help me to find a free .flv player support all mobile browser. I hjave searched on google and doesn't find any thing useful . I have tried with html5 player, but it doesn't work for .flv files. I also tried with object player, which is not running in mobile browser.
Another one thing, downloadig .flv video wll be played in mobile or not?
A mobile device will want to play an MP4 file. It won't know how to play a FLV file (unless the FLV file is really an MP4 file in disguise, which happens sometimes). The solution is for your website to transcode to MP4, not to FLV. If you have a desktop website solution that already plays FLV files, it's probably Flash-based, and it should be able to play MP4 files just as well.
I can play NASA's m3u8 HLS transmission or Apple's sample m3u8 feed quite easily on Google chrome on a windows 7 64-bit desktop machine. But when I try to play my own m3u8 file in chrome by serving it through my nginx server it gets downloaded as a VLC file and I have to start VLC separately to play it. I can play the same file on a MAC using safari and on iPhone without problems.
I know playing my own m3u8 on chrome should work since NASA's m3u8 HLS transmission works fine on chrome. What am I doing different?
Appreciate any help/pointers.
See this bug report
https://code.google.com/p/chromium/issues/detail?id=54198
it seems like they don't plan on implementing it
They are considering mpeg-dash as an alternative