5

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

Mangesh
  • 2,257
  • 4
  • 24
  • 51

4 Answers4

16

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

Vintesh
  • 1,657
  • 1
  • 24
  • 31
Ron Bakker
  • 424
  • 3
  • 6
  • Welcome to Stack Overflow! Thanks for posting your answer! Please be sure to read the [FAQ on Self-Promotion](http://stackoverflow.com/faq#promotion) carefully. Also note that it is *required* that you post a disclaimer every time you link to your own site/product. – Andrew Barber Nov 24 '12 at 14:49
  • @Ron Bakker can you please give suggestion for continue play video with their state in the panframe demo? – Nilesh Nov 30 '15 at 12:21
9

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


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

lechec
  • 839
  • 1
  • 8
  • 17
  • 2
    I put together another pretty basic SceneKit implementation which can be found here: https://github.com/alfiehanssen/ThreeSixtyPlayer – Alfie Hanssen Oct 02 '16 at 01:42
1

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

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

Sean Adkinson
  • 8,425
  • 3
  • 45
  • 64
0

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

Mangesh
  • 2,257
  • 4
  • 24
  • 51