In SharePoint 2013, the uploaded videos are not playing on ipad and iphone - ios

I have uploaded .mp4 videos to an Assest Library in SharePoint 2013. I can play these videos on IE and other browers but I am unable to play them on IPhone and IPAD. It is asking for Silverlight Installation. Is there any way I can play my videos on them.
Please help me.
Thanks.

I was in the same situation. You need to make an additional extra change. Initially I couldn't believe, but it is necessary to enable the blobcache for that SharePoint web application that is hosting the mp4 files in order to make them available for iPad / iPhone. When you enable the blobcache please make sure you have mp4 added as extension.
Here is an example of how the blobcache entry should look like in your web.config file. Of course please add the required adjustments based on your environment: cache location, size, extensions...
<BlobCache location="D:\SPS\BlobCache" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="true" />

You are not going to be able to get Silverlight on an Iphone/Ipad.
You should be able to simply download the mp4 files and play them direct from your device.

I had a video rendition set in the asset library and this caused a different video menu, and prompted to install Silverlight. Set the video properties so it forces the main video as default and it should play on iPad.
Cheers.

Related

Adobe AIR : get user's video content on iOS

I have to develop an AIR app for a client, that reads the video folder content and can play any video in it.
It's quite easy with Android, I can read any folder on the phone/tablet, but on iOS it's not that easy. I can't use applicationDirectory because the client wants to put videos himself later in the videos folder on iPad. (But if you have a solution to put files in applicationDirectory with iTunes or else, please share !)
I know there are some ane's that read the cameraroll content, but they display a native pickup screen, while I just need a list of the files.
I tried to use File.documentsDirectory to access content, but got no luck. If you have any idea, thanks in advance !
Ok I found a workaround : in my XML application file I added <key>UIFileSharingEnabled</key><true/> to the iPhone infoAdditions, so that I can access to app's documents through iTunes. I add files with iTunes, and I can read the content of the folder in AIR with File.documentsDirectory.getDirectoryListing()
Hope it will help someone else !

How to play SWF Files in iPhone App

I have a requirement in my iPhone app to download SWF file and run,have tried with Webview but couldn't get sucked.
I need to download the panoramic tours and need to play in offline.
Any Ideas?
Thanks
Well,actually you ran in the wrong way.Krpano has a html5 version .Set html5:"prefer" option to make it works on ios.

MP4 Videos on website embed with html5 does not play on iOS

So I have a couple of videos on my website that I shot using the iPhone 4 and then converted to mp4, webm and ogg, so that I can use them with html5. Thing is, the video does not play at all on the 4 iOS devices that I tested and neither on Chrome for Android.
The Chrome issue could be because some of the mp4 are actually m4v files, but still after encoding with handbrake a video to the iphone 4 presset and in mp4 format, it still does not play.
What happens, you ask? Well, it shows the play button crossed out with a diagonal bar, the debug console on Safari does not show any message untill I try to access the video directly. Then it says: QuickTime Movie could not be played.
What can I do? I have been trying to encode with ffmpeg, have tried a handful of different solutions, some even found here on stackoverlow, but to no avail. The videos do get shorter, both in display size and MBs, but nothing works to fix the issue at hand.
I've been trying to get this corrected for a couple of weeks now. Any help and/or suggestions are welcome.
Thank you.
By the way, all the videos are on a registred users section of the website, but I have one for debugin on the main page, so feel free to test.
https://sidnerwebsite.sytes.net
It seems the issue is caused by the iOS' need of an Intermediate Certificate trusted by the iOS to play videos through an SSL connection. After disabling the re-routing of the website to its ssl counterpart, the videos display correctly on iOS.

Upload file from iPhone media library, in 2012

I'm about to launch a service where one of the feature is to upload files with an 'upload' button on a website. Some years ago, I made some program for iPhone, and I remember that it was impossible to upload an MP3 from the library, because each app is in its sandbox, though I was able to upload MP3 placed in the sandbox itself.
There is an old post on SO about the impossibility to upload from the library to a website:
A html5 web app for mobile safari to upload images from the Photos.app?
Is possible as of may 2012 for an iPhone/iPad to be prompted into the music library when clicking on an html upload button?
I don't think things will evolve in your way on iPhone.
I assume your service will not be in native objective-c.
look at the features of phonegap to see what interactions are currently possible :
http://docs.phonegap.com/en/1.8.0/index.html
You can probably develop a dedicated app to extract the music file using the Media Player framework and send them to your service, but I barely doubt it can pass the apple verification team.
Apple will not allow you to do this. Although it may be possible using private APIs or perhaps the Media Player framework, it will not be accepted by Apple.

youtube api player not working on iOS?

I'm using the YouTube API in my flex app to play videos and it works fine running on my computer and android, but I'm getting an issue when I try to use it on iOS, I just get a black screen!
Any ideas?
I was curious so did some research.
First, I searched for SWFLoader on iOS and this post came up. I'll quote:
You cannot load SWFS that run ActionScript on IOS
Then I realized from your comment you may be using the Loader class; so I googled Flash Loader on iOS and came across this. To quote:
In an iPhone application, you cannot use the Loader.load() method.
However, you cannot run any ActionScript code in SWF content loaded
with the Loader.load() method. However, you can use assets in the SWF
file (such as movie clips, images, fonts, and sounds in the library).
You can also use the Loader.load() method to load image files.
You may benefit from reading through the actual Adobe docs. Specifically this page which focuses on unsupported APIs. It is the last link where the above quote comes from.
It's true you cannot load and run a SWF and in this case the video is a stream so you there is no media to save. Youtube does have an alternative URL that points to an actual mp4 file which will play on iOS. You can use a VideoDisplay player and that URL to play the video.

Resources