REDIRECT "${_BASE}/channel/${channel}/#ERROR_NEWVIDEO_EXISTS"
else
# ID NAME DESC RESX RESY LENGTH COVER STATUS UPLOADER HITS FUTUREUSE
- printf '%s \\ \\ \\ \\ \\ \\ private %s \\ \\\n' \
+ printf '%s \\ \\ \\ \\ \\ \\ void %s \\ \\\n' \
"$video" "$(STRING "$USER_ID")" \
>>"$vid_db"
RELEASE "$vid_db"
printf '[div .video .thumb
[h3 [a href="%s/channel/%s/%s/" . %s]]
[figure [img src="%s" alt=""]]
+ [span .duration . %i:%02i]
[div .description . %s]
]' "$_BASE" "$CHANNEL_ID" "$VIDEO_ID" \
"$(HTML "${VIDEO_NAME:-(Unnamed Video)}")" \
- "$thumb" "$(UNSTRING "$DESCR_CACHE")"
+ "$thumb" \
+ "$((${VIDEO_LENGTH%.*} / 60))" "$((${VIDEO_LENGTH%.*} % 60))" \
+ "$(UNSTRING "$DESCR_CACHE")"
else
return 1
fi
border-radius: 4pt;
padding: .5em;
margin-bottom: .5em;
+ height: 15em;
+ overflow: hidden;
}
body.channels main .channel > .description {
overflow: hidden;
}
+.video.thumb .duration {
+ position: absolute;
+ right: .375em; top: 10.625em;
+ font-size: .875em;
+ padding: 0 .25em;
+ background-color: #333;;
+ color: #EEE;
+ opacity: .75;
+}
+
.video.thumb .description {
position: absolute;
left:0; right:0; bottom: 3.5em;