This commit is contained in:
fred 2022-12-15 21:43:44 +01:00
parent 1c125dbb18
commit 24f17bff85
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ echo "##########################################################################
FILE_SIZE=$(echo "${FILE_BSIZE}" | awk '{ split( "B KB MB GB TB PB" , v ); s=1; while( $1>1024 ){ $1/=1024; s++ } printf "%.2f %s", $1, v[s] }')
## LET'S DO THAT : MAKE A TIDDLER
TEXT='<video controls preload="none" width="100%" height="360" poster="/ipfs/'$IPFSROOT'/'$VUID'.jpg"><source src="/ipfs/'$IPFSROOT'/'$VUID'.m3u8" type="application/x-mpegURL" /></video>'
TEXT="<video controls preload='none' width='100%' height='360' poster='/ipfs/$IPFSROOT/$VUID.jpg'><source src='/ipfs/$IPFSROOT/$VUID.m3u8' type='application/x-mpegURL' /></video>"
echo '[
{
"text": "'${TEXT}'",