dynamic VTRATIO

This commit is contained in:
fred 2022-12-19 19:37:35 +01:00
parent 057f9ae2f9
commit e38414688f
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ if [[ ! ${TIDDLER} ]]; then
EXTRATAG="$CHANNEL $PLAYLIST"
## PREPARE VIDEO HTML5 CODE
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video>
<br>{{!!filesize}} - {{!!dur}} sec. - vtratio ="${VTRATIO}"<br>
<br>{{!!filesize}} - {{!!dur}} sec. - vtratio = {{!!vtratio}}<br>
<h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
end=`date +%s`

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>{{!!filesize}} - {{!!dur}} sec. - vtratio ="${VTRATIO}"<br>
<br>{{!!filesize}} - {{!!dur}} sec. - vtratio = {{!!vtratio}}<br>
"$H1"<h2>"$DESCRIPTION"</h2>"
TidType="text/vnd.tiddlywiki" ## MAYBE REAL ONCE TW CAN SHOW ATTACHED IPFS VIDEO (TODO: TESTINGS)