@24i/smartapps-bigscreen-rnv-build-engine 0.17.13-alpha.2609 → 0.17.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -104,6 +104,7 @@ dependencies {
|
|
|
104
104
|
} else {
|
|
105
105
|
implementation "com.twentyfouri.player:exoplayer:0.7.0-alpha.3"
|
|
106
106
|
compileOnly "com.twentyfouri.player:theoplayer:0.7.0-alpha.3"
|
|
107
|
+
compileOnly "com.theoplayer.theoplayer-sdk-android:core:6.2.1"
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
implementation project(':common')
|
|
@@ -162,8 +162,8 @@ class BridgeFromJavaScript(
|
|
|
162
162
|
Bridge JS 2 Android to get the total time
|
|
163
163
|
*/
|
|
164
164
|
@JavascriptInterface
|
|
165
|
-
fun bridgeJavaScriptToAndroid_GetTotalTime():
|
|
166
|
-
viewModel.duration.
|
|
165
|
+
fun bridgeJavaScriptToAndroid_GetTotalTime(): Float = runBlocking("bridgeJavaScriptToAndroid_GetTotalTime") {
|
|
166
|
+
viewModel.duration.toFloat() / 1000
|
|
167
167
|
} ?: 0
|
|
168
168
|
|
|
169
169
|
/*
|
package/package.json
CHANGED