I would like to use VideoJS in my iOS app and web app therefore, I would like to include the videoJS library without the flash backup component.
Is it possible to not include flash backup and default to the message of
"NO HTML5 video supported"
on the web app if users use old browser or Firefox or IE7-?
Regards,
Duc Haba
You can use <video ... data-setup='{"techOrder":["html5"]}' to prevent flash from being used. But you don't need to do that to use video.js on iOS - flash is only used as fallback where it is available.
Related
I need to be able to autoplay sounds for a specific web application. As the application is being used internally I have access to the devices and would therefore like to turn off the autoplay restriction for audio on mobile chrome for iOS.
Are there any settings for that?
There is a policy AutoplayAllowed for this purpose: https://dev.chromium.org/administrators/policy-list-3#AutoplayAllowed
But it doesn't work anymore on iOS:
Policy Support on Chrome on iOS is being removed in Chrome 48 as part of Chrome's move to WKWebView where supporting many of the policies was not possible.
Source: https://dev.chromium.org/administrators/ios-mdm-policy-format
I'm using UIWebView to load URL in my app, so while login into that URL, Home page of my application will come,
in that home page i have another button to call a new URL which needs Adobe Flash Player, so it is showing an error like
"This content requires Adobe Flash Player, which is not supported by your device. This content can be viewed on a desktop computer or on mobile devices that support Flash Player".
Could you please suggest me is there any third party library available to resolve this or i need to open that new URL in Safari Browser of iPad.
Apple famously decided not to allow Flash on iOS devices for a number of reasons back in 2010. As far as I know, that hasn't changed. There are apparently some apps that let you view Flash content, but it doesn't sound like a very good experience.
There's no Flash library that you can build into an app to access Flash. Since you control the web content in question, your best bet by far is to build a version of that content that uses HTML5 instead of Flash.
Even Adobe is making the switch to HTML5; your Flash content has passed it's expiration date.
I noticed this web browser, Photon (iTunes Store link) is able to play flash. My question is, if Apple doesn't allow flash to run on devices and all web browsers must use Apple's UIWebView, how can this app enable Flash playback?
Most third party apps route flash video to a there own Server to be re-encoded to another Safari friendly file format such as mp4. Once the was bee re-encoded it sent back to there client device
Has anyone else noticed that Safari (and even Chrome) for iOS attempt to preload all audio tags even if you use the preload="none":
<audio src="test.mp3" preload="none"></audio>
Desktop browsers appear to work correctly, but as soon as I load the page from the iPhone the Apache server registers a request for the file.
According to Apple Docs, Mobile Safari never loads music file or metadata until user touch is detected. This is to make sure a webpage doesn't request a lot of music or data to be downloaded on mobile devices which might take up a lot of mobile data. So preload tag is essentially always set to "none" in mobile Safari regardless of what your code has. Here's the link to the docs where they explain everything.
Quote straight from the docs "Note: The preload attribute is supported in Safari 5.0 and later. Safari on iOS never preloads."
I'm currently building a Rails app, where a user can upload an mp3 and listen to it. I'm using paperclip for the data upload, but I'm not sure how I'd arrange the playback of the soundfile, so that it can be used on a mobile phone as well (so no flash).
Thoughts?
The two main cross-browser media playback frameworks are jPlayer and SoundManager.
Both will handle playback of your audio, regardless of device. Both will play the audio using either HTML5 or Flash according to
which solution is available
which solution you specified as higher priority (e.g. use HTML if available, Flash if not)
I'm using JW Player and I'm very happy about it. There is a HTML 5 mode that runs on newer mobile devices like the iPhone.