harmonwood / capacitor-video-player

Capacitor Video Player Plugin
MIT License
112 stars 46 forks source link

Unlocked default orientation, NowPlayingInfo feat #129

Closed PhantomPainX closed 1 year ago

PhantomPainX commented 1 year ago

Changes:

Added:

jepiqueau commented 1 year ago

@PhantomPainX It seems that the AllOrientationAVPlayerController() is missing. Can you send the code asap i cannot publish the plugin.

PhantomPainX commented 1 year ago

@PhantomPainX It seems that the AllOrientationAVPlayerController() is missing. Can you send the code asap i cannot publish the plugin.

Weird, I checked and it's there, but here it is:

//
//  AllOrientationAVPlayerController.swift
//  CapacitorVideoPlayer
//
//  Created by Manuel Garcia Marin on 24-05-23.
//
import AVKit
class AllOrientationAVPlayerController: AVPlayerViewController {
    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
        return .all    }
}
jepiqueau commented 1 year ago

@PhantomPainX Sorry it was there but i add to add to the plugin