0Chain WordPress Plugin (shortcode)

Here is a demo of various files dynamically downloaded from 0chain storage. Below each item is the shortcode used to generate the file excluding the _, (these have been cut and pasted from the 0box app):-

(If any of the below don’t work, its probably because this is currently on a testnet and there has been a network reset. I should get around to updating soon. This will not be an issue once we hit mainnet.)

Video Stream (with autoplay)

[_zcn type="videostream" network="beta" autoplay="true" authticket="eyJjbGllbnRfaWQiOiIiLCJvd25lcl9pZCI6IjhkYmExMDVmODZhZDIwNDExZTUwZWY5ODFkMjIxMmZhZWY4YmFkNzVhMDM1YzNlNDhkYWExMjFhMGZiMGJmZWUiLCJhbGxvY2F0aW9uX2lkIjoiYTgxYjE2NmEzZTQzYmRkMzc1NWU5MmRhZWE3OTJkMWNiOWVlZWMyOWIyZGZlMTg3ZWMwNDY1N2ExYmE0ZjJmNCIsImZpbGVfcGF0aF9oYXNoIjoiMzU5ZjMzMmMzZjBjZWUyOWIzMGZkYjJkNTVmOWQyMGMzZGMzZDVlNzcyZTkyZWNkZDg4NzJiNzJmMzQyODY1MCIsImFjdHVhbF9maWxlX2hhc2giOiI2Yjk2NDMxYTJlODQ4MDJiOGE1NTczN2FmYjA3OTIwZTZjYWE5YjMzNmNlMjBkYTQwYjdjZDFjNzE2MDM4MGM2IiwiZmlsZV9uYW1lIjoiRHJvbmVTYW1wbGUubXA0IiwicmVmZXJlbmNlX3R5cGUiOiJmIiwiZXhwaXJhdGlvbiI6MCwidGltZXN0YW1wIjoxNjU3NTMyNzU4LCJlbmNyeXB0ZWQiOmZhbHNlLCJzaWduYXR1cmUiOiI0MjA0MzQ1N2UzMWI3NWM1ZGIyYmFhOWFkMDdhY2E3NDc4ZWM3MmM5NmM4MTA3ZTZmZWIwMTBjMjM4ZjMwOTE2In0="]

Video (with autoplay+loop)

[_zcn authticket="https://0box.page.link/8DUK9PYTeDyA6qMu7" type="video" autoplay="1" loop="1"]

Image

[_zcn authticket="https://0box.page.link/g9eyjxecgozYRSS58" type="image"]

File

https://zcdn.uk:6943/authticket/eyJjbGllbnRfaWQiOiIiLCJvd25lcl9pZCI6ImZjMDViODU4MGNhNjc5NmViYzcwNGVmZTk5YzcxYzEzNWQzNDVmYzFjNTZjNjE2ZmQ2NjBiZjY2MTg2Y2IzM2YiLCJhbGxvY2F0aW9uX2lkIjoiMTQxYjI4NGE0NDFkODQyMzljMjg1NjQxM2JhOGUxZmUwNzQzZjIyZGRkYjU2OTc4MTYxMWYyNDhlMjgyMmMwNyIsImZpbGVfcGF0aF9oYXNoIjoiNTFhYTFjZmYxNWI1OWU0MTMxNzlmMTQ4YzZkMzIxNjkxNTRmNDFhNDA2MDBlNjVlMDc4MjU5M2NjNDMzMzIwYyIsImZpbGVfbmFtZSI6InZlcnliZXN0ZG9vcnMyMDA3LmpwZyIsInJlZmVyZW5jZV90eXBlIjoiZiIsImV4cGlyYXRpb24iOjE2MjY5NDUzMDEsInRpbWVzdGFtcCI6MTYxOTE2OTMwMSwicmVfZW5jcnlwdGlvbl9rZXkiOiIiLCJzaWduYXR1cmUiOiJmODFhZGE4NzE5M2VhMjM2YWI2NDE5NGMxMTdiNjAyZWY4ZDhkNmYyNGJjNTNkMGI3NzkyNDQzZDA1N2JiMTI0In0=' with whitelisted URL patterns in this Google project.
[_zcn authticket="https://0box.page.link/g9eyjxecgozYRSS58" type="file"]

Audio

[_zcn authticket="https://0box.page.link/u2EGLrLzu2Pq4RGF7" type="audio"]

Video File (without autoplay)

[_zcn authticket="https://0box.page.link/wmBKzuVNEA4trMjs5" type="video"]

Notes:

Video Stream utilizing my 0chain Media Server (Video Streaming) project

All other files fetched using my g0chainwebserver (File Server) project