forked from STI/Astroport.ONE
"created": "'${MOATS}'",
This commit is contained in:
parent
f25f02ae55
commit
e24f4fb377
|
@ -126,6 +126,7 @@ while read YID;
|
||||||
echo '[
|
echo '[
|
||||||
{
|
{
|
||||||
"created": "'${MOATS}'",
|
"created": "'${MOATS}'",
|
||||||
|
"modified": "'${MOATS}'",
|
||||||
"title": "'$ZFILE'",
|
"title": "'$ZFILE'",
|
||||||
"type": "'text/vnd.tiddlywiki'",
|
"type": "'text/vnd.tiddlywiki'",
|
||||||
"text": "'$TEXT'",
|
"text": "'$TEXT'",
|
||||||
|
|
|
@ -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")
|
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
|
## TW not displaying direct ipfs video link (only image, pdf, ...) so insert <video> html tag
|
||||||
TEXT="<video controls preload='none' 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 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>
|
||||||
<\$button class='tc-tiddlylink'><\$list filter='[tag[G1Vlog]]'><\$action-navigate \$to=<<currentTiddler>> \$scroll=no/></\$list>Afficher tous les G1Vlog</\$button>"
|
<\$button class='tc-tiddlylink'><\$list filter='[tag[G1Vlog]]'><\$action-navigate \$to=<<currentTiddler>> \$scroll=no/></\$list>Afficher tous les G1Vlog</\$button>"
|
||||||
|
|
||||||
echo "## Creation json tiddler"
|
echo "## Creation json tiddler"
|
||||||
|
|
Loading…
Reference in New Issue