package com.aiosman.riderpro

import android.app.Activity
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import com.aiosman.riderpro.ShortViewCompose
import com.aiosman.riderpro.ui.theme.RiderProTheme

val videoUrls = listOf(
    "https://api.aiosman.com/video/1.mp4",
    "https://api.aiosman.com/video/2.mp4",
    "https://api.aiosman.com/video/3.mp4",
    "https://api.aiosman.com/video/4.mp4",
    "https://api.aiosman.com/video/5.webm",
    "https://api.aiosman.com/video/6.webm",
    "https://api.aiosman.com/video/7.webm",
    "https://api.aiosman.com/video/8.webm",
    "https://api.aiosman.com/video/9.webm",
    "https://api.aiosman.com/video/10.webm",
    "https://api.aiosman.com/video/11.webm",
    "https://api.aiosman.com/video/12.webm",
    "https://api.aiosman.com/video/13.webm",
    "https://api.aiosman.com/video/14.webm",
    "https://api.aiosman.com/video/15.webm",
    "https://api.aiosman.com/video/16.webm",
    "https://api.aiosman.com/video/17.webm",
    "https://api.aiosman.com/video/18.webm",
    "https://api.aiosman.com/video/19.webm",
    "https://api.aiosman.com/video/20.webm",
    "https://api.aiosman.com/video/21.webm",
    "https://api.aiosman.com/video/22.webm",
    "https://api.aiosman.com/video/23.webm",
    "https://api.aiosman.com/video/24.webm",
    "https://api.aiosman.com/video/25.webm",
    "https://api.aiosman.com/video/26.webm",
    "https://api.aiosman.com/video/27.webm",
    "https://api.aiosman.com/video/28.webm",
    "https://api.aiosman.com/video/29.webm",
    "https://api.aiosman.com/video/30.webm",
    "https://api.aiosman.com/video/31.webm",
    "https://api.aiosman.com/video/32.webm",
    "https://api.aiosman.com/video/33.webm",
    "https://api.aiosman.com/video/34.webm",
    "https://api.aiosman.com/video/35.webm",
    "https://api.aiosman.com/video/36.webm",
    "https://api.aiosman.com/video/37.webm",
    "https://api.aiosman.com/video/38.webm",
    "https://api.aiosman.com/video/39.webm",
    "https://api.aiosman.com/video/40.webm",
    "https://api.aiosman.com/video/41.webm",






)

@Composable
fun ShortVideo() {
    RiderProTheme {
        Surface(color = MaterialTheme.colorScheme.background) {
            ShortViewCompose(
                videoItemsUrl = videoUrls,
                clickItemPosition = 0
            )
        }
    }
}

