This commit is contained in:
fred 2022-12-18 22:26:53 +01:00
parent fd5ea8cb64
commit 4eea142145
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ if [[ ! ${TIDDLER} ]]; then
PLAYLIST=$(yt-dlp --cookies-from-browser $BROWSER --print "%(playlist)s" "${ZYURL}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
EXTRATAG="$CHANNEL $PLAYLIST"
## PREPARE VIDEO HTML5 CODE
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><br>{{!!duree}}<br><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><br>{{!!duree}} - {{!!filesize}} - {{!!dur}} sec. (${$VTRATIO})<br><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
end=`date +%s`
dur=`expr $end - $start`

View File

@ -289,7 +289,7 @@ then
if [[ $(echo "$MIME" | grep 'video') ]]; then
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video>
<br>{{!!duree}} - {{!!filesize}} - {{!!dur}} sec.<br>
<br>{{!!duree}} - {{!!filesize}} - {{!!dur}} sec. (${$VTRATIO})<br>
"$H1"
<h2>"$DESCRIPTION"</h2>"