Igor Demin
3 years ago
committed by
GitHub
10 changed files with 19 additions and 22 deletions
@ -1,24 +1,21 @@
|
||||
package org.jetbrains.compose.videoplayer.demo |
||||
|
||||
import androidx.compose.desktop.DesktopTheme |
||||
import androidx.compose.desktop.Window |
||||
import androidx.compose.material.MaterialTheme |
||||
import androidx.compose.ui.unit.IntSize |
||||
import androidx.compose.ui.window.singleWindowApplication |
||||
import org.jetbrains.compose.videoplayer.VideoPlayer |
||||
|
||||
fun main() { |
||||
Window( |
||||
singleWindowApplication( |
||||
title = "Video Player", |
||||
size = IntSize(800, 800) |
||||
) { |
||||
MaterialTheme { |
||||
DesktopTheme { |
||||
VideoPlayer( |
||||
url = "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4", |
||||
width = 640, |
||||
height = 480 |
||||
) |
||||
} |
||||
VideoPlayer( |
||||
url = "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4", |
||||
width = 640, |
||||
height = 480 |
||||
) |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,6 +1,6 @@
|
||||
# __LATEST_COMPOSE_RELEASE_VERSION__ |
||||
COMPOSE_CORE_VERSION=1.0.0-alpha4-build348 |
||||
COMPOSE_WEB_VERSION=1.0.0-alpha4-build348 |
||||
COMPOSE_CORE_VERSION=1.0.0-alpha4-build362 |
||||
COMPOSE_WEB_VERSION=1.0.0-alpha4-build362 |
||||
compose.web.buildSamples=false |
||||
compose.web.tests.integration.withFirefox |
||||
compose.web.tests.skip.benchmarks=false |
||||
|
Loading…
Reference in new issue