video tag

This commit is contained in:
fred 2022-04-23 03:41:20 +02:00
parent f0abc89769
commit ef25f477c0
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ then
MIME=$(file --mime-type "$HOME/astroport/${TYPE}/${REFERENCE}/${file}" | cut -d ':' -f 2 | cut -d ' ' -f 2)
if [[ $(echo "$MIME" | grep 'video') ]]; then
TEXT='<video height='${RES}'x width=100% controls preload=none><source src=/ipfs/'${IPFSID}' type='${MIME}'></video><h1>'${TITLE}'</h1>'
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
MIME="txt/html"
TAGS="${CAT}"
CANON=''