Last updated: 09 June 2022 10:09 AM
In current web2 centralized video platforms, a single company owns, operates and censors the whole platform just because of its infrastructure. The platform censors the content and also takes nearly 40% of video revenue from the creator. Basically, any platform is famous due to its creators and not the platform itself. Also, video piracy is a huge issue worldwide. All efforts, money, time and energy get wasted of filmmakers if video gets pirated or stolen. The loss due to video piracy is in billions of dollars.
VidShield is an all-in-one platform.
It is decentralized video platform. It creates a direct relationship between viewer and content creator. There are no user data leaks and ads. Here, viewer can upload video and its thumbnail and subscribed viewers can watch it seamlessly.
It is video NFT platform where creators can mint Video NFTs and sell them on Opensea marketplace.
It is one of the best Web3 video players. I have added a core piracy protection feature which itself will save money. Here creators are protected from any kind of video piracy. So, all hard work and sweat of the creator does not get captured by pirates.
It provides smooth and gasless onboarding experience for viewers and creators in just one click of a button using Biconomy.
It is content creator platform where we support the creator economy. Whenever a viewer subscribes for a yearly subscription for a creator, creator gets 80% and platform gets 20% of fees. This is advantageous for viewers because they can only see their favorite creators.
If someone screen records, a reporting platform is also made where a genuine viewer can register a complaint about the pirate and its pirated video. If the report is genuine, the pirate will get blocked and the reporter will get bounty ethers as reward. If we incentivise reporters, piracy will nearly stop.
It is also NFT Marketplace for viewers to buy NFTs.
The first challenge was technology integrations where most of the errors came.
a) The video streaming and video NFT is done with the help of Livepeer API.
b) The contract is deployed on Polygon Mumbai testnet.
c) All the NFTs are fetched using Alchemy’s NFT API*.
d) In contract deployment to Polygon, Alchemy’s Endpoint URL is used.
e) User can onboard the platform using gasless onboarding using Biconomy.
f) All the video thumbnails and the reporter’s pirated video is stored on Filecoin IPFS Storage.
g) I was successful in integrating different tech stacks in my application by deeply reading their documentation, trying their hello world projects and joining their discord community(here, most of my errors got solved).
h) My complete dapp with all above technologies and features integrated is deployed on Spheron.
i) I would like to thank : Livepeer, Polygon, Alchemy, Biconomy, Filecoin, Spheron, Moralis for the easy documentation and active community support they provide.
The second challenge I faced was ideation. I thought a lot to formulate this solution.
I got some frustrating errors while making this product. But, no problem, thats the part and parcel of our life.
i) My Truffle crashed while using alchemy. I used optimisation to solve it.
ii) My Livepeer Asset was not uploading from local file. So, I converted video file to Blob.
iii) My Biconomy Gasless Transactions were not working. I saw their discord and put right domainData and domainType.
iv) I also got environment variable and CORS errors while deploying on spheron but solved it by exploring on Internet.
Last but not the least, I have put my heart and soul in this project so that I can add many features so thats why the video is little long. But, I am sure that it will be worth watching this video to understand the solution.
*Note:- First, Alchemy NFT API is called, if URI error from them, then only Moralis NFT API is called.