Question

Before downvote please read the question, I also see other question but doesn't find useful.

I have a requirement in my current app, where i needed to play 360º video (Like Panorama). one app on app store doing same Name "GoPano"

http://itunes.apple.com/ke/app/gopano/id459463884?mt=8

Was it helpful?

Solution 4

I found that it is embeded player of GoPano. what they done is play video from Java script and with flex.

OTHER TIPS

I created a framework over the last 2.5 years, which plays back 360° panoramic video playback on iOS, similar to your requirements. It is compatible with versions 4.3 up to 6.x at this point.

You can download it at www.panframe.com and try if this is what you are looking for.

The framework supplies a UIView that you can easily add as a child and an asset class which you can connect to the view and which will take care of playing spherical panoramic content. You can look at the interface I used.

You can use it like this dynamically for example in your UIViewController at runtime:

    // initialize an PFView
    PFView pfView = [PFObjectFactory viewWithFrame:[self.view bounds]];
    pfView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);

    // set the appropriate navigation mode PFView
    [pfView setNavigationMode:PF_NAVIGATION_MOTION];

    // add the view to the current stack of views
    [self.view addSubview:pfView];
    [self.view sendSubviewToBack:pfView];

And when you want to play an 360 video asset (from a file URL) you implement the following:

    PFView pfAsset = [PFObjectFactory assetFromUrl:[NSURL fileURLWithPath:filePath] observer:(PFAssetObserver*)self];

    if ([pfAsset getStatus] != PF_ASSET_ERROR)
    {
        [pfView displayAsset:pfAsset];
        [pfAsset play];
    }

Update: In case some one wants to use it in cordova apps, you can find plugin here

I found these repos useful when creating my own video 360° player:


The last one is mine, and here is it's description.

Google recently released the CardboardSDK for IOS, which supports 360 video playing.

https://developers.google.com/cardboard/ios/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top