preload='none' REMOVE
This commit is contained in:
parent
e24f4fb377
commit
89b43dbd09
|
@ -118,7 +118,7 @@ while read YID;
|
|||
PLAYLIST=$(yt-dlp --print "%(playlist)s" "${ZYURL}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
|
||||
EXTRATAG="$CHANNEL $PLAYLIST"
|
||||
## PREPARE VIDEO HTML5 CODE
|
||||
TEXT="<video controls preload='none' width=100%><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
|
||||
TEXT="<video controls width=100%><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1><a href='"${ZYURL}"'>"${TITLE}"</a></h1>"
|
||||
|
||||
echo "Creating Youtube ${YID} tiddler : G1CopierYoutube !"
|
||||
echo $TEXT
|
||||
|
|
|
@ -447,7 +447,7 @@ then
|
|||
[[ $IPTHUMB ]] && POSTER=$IPTHUMB
|
||||
|
||||
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
||||
TEXT="<video controls preload='none' width=100% poster='/ipfs/"${POSTER}"'><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'>
|
||||
TEXT="<video controls width=100% poster='/ipfs/"${POSTER}"'><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'>
|
||||
</video><h1><a href='https://www.themoviedb.org/"${tdb}"/"${REFERENCE}"'>"${TITLE}"</a></h1>
|
||||
<h2>"$DESCRIPTION"</h2>
|
||||
<\$button class='tc-tiddlylink'>
|
||||
|
|
|
@ -132,7 +132,7 @@ cp ~/.zen/tmp/output.mp4 ~/astroport/video/vlog/${PLAYER}_$MEDIAID.mp4
|
|||
REAL=$(file --mime-type -b "$HOME/astroport/video/vlog/${PLAYER}_$MEDIAID.mp4")
|
||||
|
||||
## TW not displaying direct ipfs video link (only image, pdf, ...) so insert <video> html tag
|
||||
TEXT="<video controls preload='none' width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${IPFSID}"/output.mp4' type='"${REAL}"'></video><h1><a href='/ipfs/"${IPFSROOT}"'>VLOG ("${MEDIAID}") Story</a></h1><br>
|
||||
TEXT="<video controls width=100% poster='/ipfs/"${ANIMH}"'><source src='/ipfs/"${IPFSID}"/output.mp4' type='"${REAL}"'></video><h1><a href='/ipfs/"${IPFSROOT}"'>VLOG ("${MEDIAID}") Story</a></h1><br>
|
||||
<\$button class='tc-tiddlylink'><\$list filter='[tag[G1Vlog]]'><\$action-navigate \$to=<<currentTiddler>> \$scroll=no/></\$list>Afficher tous les G1Vlog</\$button>"
|
||||
|
||||
echo "## Creation json tiddler"
|
||||
|
|
Loading…
Reference in New Issue