JWPlayer - one of best media player for your mobile app - available on Xamarin

Hi,

I am very happy to share with you our binding libraries for JWPlayer SDKs.

Please check them out and log issues if any.

Regards,
Tuyến

Posts

  • NashZhouNashZhou USMember ✭✭✭

    @tuyenv your Android "JWPlayer Official Guide" link leads to a 404 on the jwplayer site.

  • tuyenvtuyenv VNUniversity ✭✭✭

    Thank you, @NashZhou. It's fixed now. :)

  • GustavoGalanGustavoGalan USMember ✭✭

    Would this player allow me to play VR360 videos, like this one:

    On the Forms.webviewer, the video is not streamed as VR. However using the YouTube app, the video is streamed as VR360, which respond to device orientation.

    So I would need this jwplayer be able to stream in VR mode.

    Thanks

  • GustavoGalanGustavoGalan USMember ✭✭

    So I am trying, however the existing bindings from Nuget (naxam.jwplayer.ios) generates an error during execution, while trying to instantiate the JWConfig Class.

            jcfg = new JWConfig();
            jcfg.File = "https://youtu.be/hb2uQ_Dw00I";
            jcfg.Size = new CoreGraphics.CGSize(100, 100);
            jcfg.Controls = true;
            jcfg.Repeat = false;
    
            jwp = new JWPlayerController(jcfg);
            jwp.View.Frame = new CoreGraphics.CGRect(0, 0, 100, 100);
    
            View.AddSubview(jwp.View);
    

    Erro: Could not create an native instance of the type 'JWPlayer.JWConfig': the native class hasn't been loaded.
    It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.

    Any help will be much appreciated.

  • tuyenvtuyenv VNUniversity ✭✭✭

    @GustavoGalan,

    Have you tried the sample?

    Plz try to disable incremental build and linking on your debug build.

    If it doesn't work, I will take a look.

    Cheers.

  • JassimRahmaJassimRahma USMember ✭✭✭✭

    Does it support Xamarin Forms?

  • tuyenvtuyenv VNUniversity ✭✭✭
    edited July 2018

    @JassimRahma ,

    These are binding libraries, hence they're for Xamarin.iOS/Xamarin.Android.

    Xamarin.Forms is a library on top of Xamarin.Native.
    To have non-default native features to work with Xamarin.Forms, you will need to choose one of following options

    • Custom renderer
    • Dependency service
    • Custom Effect
    • Platform Specific
    • Native View

    All are documented in Xamarin documentation site.

    We have ever made Xamarin.Forms library, please drop me an email to me ([email protected]) for the quote.

    Cheers.

Sign In or Register to comment.