Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class FastPixBitMovinPlayer(
private val playerView: View,
private val player: Player,
private val enableLogging: Boolean = false,
private val customerData: CustomerData
private val customerData: CustomerData,
) : PlayerListener {
private val TAG = "FastPixBitMovinPlayer"
private lateinit var fastPixDataSDK: FastPixDataSDK
Expand Down Expand Up @@ -114,8 +114,6 @@ class FastPixBitMovinPlayer(
errorMessage = event.message
dispatchError()
}


}

private fun initializeFastPixDataSdk() {
Expand All @@ -127,7 +125,7 @@ class FastPixBitMovinPlayer(
videoData = customerData.videoDetails,
playerListener = this,
enableLogging = enableLogging,
customData = customerData.customDataDetails
customData = customerData.customDataDetails,
)
fastPixDataSDK.initialize(sdkConfiguration, context)
}
Expand Down Expand Up @@ -271,7 +269,6 @@ class FastPixBitMovinPlayer(
}
}


override fun playerHeight(): Int? {
val density = context.resources.displayMetrics.density
val rawHeight = playerView.measuredHeight
Expand Down Expand Up @@ -347,4 +344,4 @@ class FastPixBitMovinPlayer(
lastSeekPosition = 0.0
errorMessage = null
}
}
}