|
@@ -40,9 +40,10 @@ class NCPlayer: NSObject {
|
|
|
internal let fileNameIconLocalPath: String
|
|
|
|
|
|
internal weak var playerToolBar: NCPlayerToolBar?
|
|
|
- internal weak var imageVideoContainer: imageVideoContainerView?
|
|
|
internal weak var viewerMediaPage: NCViewerMediaPage?
|
|
|
|
|
|
+ weak var imageVideoContainer: imageVideoContainerView?
|
|
|
+
|
|
|
// MARK: - View Life Cycle
|
|
|
|
|
|
init(imageVideoContainer: imageVideoContainerView, playerToolBar: NCPlayerToolBar?, metadata: tableMetadata, viewerMediaPage: NCViewerMediaPage?) {
|
|
@@ -246,7 +247,7 @@ extension NCPlayer: VLCMediaPlayerDelegate {
|
|
|
}
|
|
|
|
|
|
func mediaPlayerTimeChanged(_ aNotification: Notification) {
|
|
|
- print("\(player?.time.stringValue) - \(player?.position)")
|
|
|
+
|
|
|
playerToolBar?.update()
|
|
|
}
|
|
|
|