aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-07 16:45:41 -0500
committerGitHub <noreply@github.com>2018-01-07 16:45:41 -0500
commitad97b4ff946b4ba3a3f7ac880575eed9de810166 (patch)
tree80d343aa4b9d2db6d768b1de504bb89716059e32 /app/src/main/kotlin/com/pitchedapps/frost/views
parentafe7437e0a0f6c315d383e0b6133b13a461c92af (diff)
downloadfrost-ad97b4ff946b4ba3a3f7ac880575eed9de810166.tar.gz
frost-ad97b4ff946b4ba3a3f7ac880575eed9de810166.tar.bz2
frost-ad97b4ff946b4ba3a3f7ac880575eed9de810166.zip
Fix start activity (#607)
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt
index 2a7c519e..1dc401a5 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt
@@ -84,7 +84,8 @@ class FrostVideoViewer @JvmOverloads constructor(
fun setVideo(url: String, repeat: Boolean = false) {
val formattedUrl = url.formattedFbUrl
- L.d { "Load video view; repeat: $repeat" }
+ L.d { "Load video; repeat: $repeat" }
+ L._d { "Url\t\t\t$url\nformatted\t$formattedUrl" }
animate().alpha(1f).setDuration(FrostVideoView.ANIMATION_DURATION).start()
video.setVideoURI(Uri.parse(formattedUrl))
video.repeat = repeat