Spaces:
Running
Running
Commit
·
4102ee9
1
Parent(s):
20da126
Debug 4
Browse files- Functions/video_player_functions.py +0 -3
- app.py +1 -1
Functions/video_player_functions.py
CHANGED
|
@@ -29,9 +29,6 @@ def get_video_link_by_pointer(pointer):
|
|
| 29 |
video = default_app.database().child("videos").child(str(pointer)).get().val()
|
| 30 |
if video["complete"]:
|
| 31 |
return None
|
| 32 |
-
# while video["complete"]:
|
| 33 |
-
# pointer += 1
|
| 34 |
-
# video = default_app.database().child("videos").child(str(pointer)).get().val()
|
| 35 |
return video["url"]
|
| 36 |
|
| 37 |
|
|
|
|
| 29 |
video = default_app.database().child("videos").child(str(pointer)).get().val()
|
| 30 |
if video["complete"]:
|
| 31 |
return None
|
|
|
|
|
|
|
|
|
|
| 32 |
return video["url"]
|
| 33 |
|
| 34 |
|
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from Resources.localization import get_string
|
|
| 8 |
|
| 9 |
next_video_pointer = 0
|
| 10 |
user = "anonymous_user"
|
| 11 |
-
n_videos =
|
| 12 |
placeholder_link = "https://www.youtube.com/watch?v=1pXUgdCnVec"
|
| 13 |
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
next_video_pointer = 0
|
| 10 |
user = "anonymous_user"
|
| 11 |
+
n_videos = 21
|
| 12 |
placeholder_link = "https://www.youtube.com/watch?v=1pXUgdCnVec"
|
| 13 |
|
| 14 |
|