Fixed missing video descriptions
This commit is contained in:
parent
144e8f7bb7
commit
a3407467c2
@ -429,10 +429,10 @@ def embed(video_link, vnf, image):
|
|||||||
image = vnf['images'][image]
|
image = vnf['images'][image]
|
||||||
template = 'image.html'
|
template = 'image.html'
|
||||||
if vnf['type'] == "Video":
|
if vnf['type'] == "Video":
|
||||||
#urlDesc = urllib.parse.quote(textwrap.shorten(desc, width=220, placeholder="..."))
|
urlDesc = urllib.parse.quote(textwrap.shorten(desc, width=220, placeholder="..."))
|
||||||
template = 'video.html'
|
template = 'video.html'
|
||||||
if vnf['type'] == "":
|
if vnf['type'] == "":
|
||||||
#urlDesc = urllib.parse.quote(textwrap.shorten(desc, width=220, placeholder="..."))
|
urlDesc = urllib.parse.quote(textwrap.shorten(desc, width=220, placeholder="..."))
|
||||||
template = 'video.html'
|
template = 'video.html'
|
||||||
|
|
||||||
color = "#7FFFD4" # Green
|
color = "#7FFFD4" # Green
|
||||||
|
Loading…
x
Reference in New Issue
Block a user