mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
Displaying video URL after upload
This commit is contained in:
parent
f3e0369710
commit
1975704954
2 changed files with 9 additions and 3 deletions
|
@ -125,8 +125,9 @@ def resumable_upload(request):
|
|||
status, response = request.next_chunk()
|
||||
if response is not None:
|
||||
if 'id' in response:
|
||||
template = ('Youtube : Video id "%s" was successfully '
|
||||
'uploaded.')
|
||||
template = ('Youtube : Video was successfully '
|
||||
'uploaded.\n'
|
||||
'Watch it at https://youtu.be/%s (post-encoding could get some time)')
|
||||
print(template % response['id'])
|
||||
else:
|
||||
template = ('Youtube : The upload failed with an '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue