-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLM_intro.py
52 lines (47 loc) · 1.25 KB
/
LM_intro.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 4 11:12:43 2021
@author: cgwork
"""
import os
import dash_bootstrap_components as dbc
from dash import html
from dash.dependencies import Input, Output
from dash.exceptions import PreventUpdate
from app import app
# layout
layout = html.Div(
children=[
html.Video(
controls=False,
id="movie_player",
src=os.path.join("/", "assets", "mockup_video_final.mp4"),
autoPlay=True,
width=1200,
),
html.Div(
dbc.Button(
style={
"fontSize": 22,
"marginLeft": "20px",
"marginRight": "80px",
"backgroundColor": "#000",
"color": "#ffffff",
},
id="submit-button-state",
n_clicks=0,
children="Submit",
color="Primary",
className="me-1",
href="/page0",
),
className="d-grip gap-2 d-md-flex justify-content-md-end",
),
html.Div(id="video-intro-output"),
],
style={
"textAlign": "center",
"backgroundColor": "#000",
},
)