Inspiration

As Theta Blockchain Network continues to advance technologically in Video, Media and entertainment space. I begin to see Theta Video Network Commercialization's in 3 different Fields/Industries.

1.) Entertainment Industries: Building a Video Streaming Entertainment Apps that will be far better than existing apps like Netflix, Restream etc.

2.) Health & Fitness: As request for Video Streaming Services continues to be on increases. Health and Fitness Seekers would be willing to Pay any amount just to have access to Health and Fitness oriented Video Contents. In other words there is a very big Market for Video Streaming Services with health and fitness oriented content which is of high demand in the Health and Fitness Industries.

3.) Education Industries: In this present time, everyone, Students, Teachers, Lecturers etc. prefer learning things via watching Video Tutorials, Video lectures etc. There is a very big Market for Video Streaming Services for Educational Video Oriented Contents.

With above mention 3 Categories, I asked myself, Why Don't I build the next generation of Video Streaming Entertainments Payments Services on top of Simple Cost Effective Decentralized Theta Video Network that will be based on Theta Tfuel Subscription Payments. As a result, ThetaFlex was Born.

What it does

ThetaFlex is a Production Ready Online Video Streaming Services that allow users/Subscribers to Pay and Watch Online TV Shows, Movies, Games, Documentaries etc. Powered by Theta Video API, P2p Video Javascript SDK , Theta Explorer API and Theta Mainnet | Main Chain Payment System.

Unlike other Video Streaming Services like Netflix, Restream etc. where you subscribe/pays in USD but with Thetaflex, Your Subscriptions/Payments is by Theta Tfuel

The Application has 2 sections. Admin and Users/Subscribers Section

Admin Section

1.) Admin Signup with His/Her Theta Wallet Address and then Login into the Application. This Theta Wallet Address will be used by the Admin to receive Subscription Payments in Theta Tfuel

2.) Admin can Upload and Publish Videos to all hers Subscribers within the Application. Video Upload Categories includes TV Shows, Movies, Games, Documentaries etc.

When a Site Admin uploads a Video, the uploaded video get sent to temporary folder and the application automatically generate a Public Video URL for sending the Video to Theta Video Blockchain Network. The Admin leverages Check Uploade Video Status option on the Apps Menu Bar to periodically check all her Uploaded Video Encoding State/Progress via Theta Video Status API Calls. Once the Video State is set to Success and progress is set to 100% as return from Theta API Call, then the uploaded Video is fully encoded, the Video will be deleted automatically from temporary folder and a Video publication Notification will be broadcasted to all the Video Subscribers in real-time .

3.) Admin can access all registered Subscribers. can Ban/Un-Ban Users/Subscribers. Admin can also Mark Users/Subscribers as Verified.

4.)Admin can Manage all the Uploaded Theta Videos within the Application. Admin can Delete Videos

5.) Statistics: This leverages google statistical Charts to provide the Admin a Statistical Insights into Total number of Theta Video Published So far, Total Comments, Replies etc. Shared by all ThetaFlex Users/Subscribers within the Application all via Bar Charts, Column Charts and Pie Charts statistical distribution analysis.

6.) Admin can easily Check his/her Theta Account Balance and can also View, Access and Manage all Video Subscription Payments made to and from his Theta Wallet Address from and within our Thetaflex Applications.

Users/Subscribers Section

1.) User Signup with His/Her Theta Wallet Address and then Login into the Application.

2.) Subscription Payments: To Access and watch Online TV Shows, Movies, Games, Documentaries etc., The User needs to subscribe and Payments are made in Theta Tfuel.
To pay for Subscription, User/Subscriber must have some real funds on her Theta Wallets Accounts on Mainnet | Main Chain.

Steps on How to Make Subscription Payments
For Testing Purpose, Application has 3 Type of Subscriptions:
I) Theta Day: For Daily Subscriptions.
II)Theta Month: For Monthly Subscriptions.
III)Theta Year: For Yearly Subscriptions.

To actually Subscribe, The User Picks up a Plan of her choice.
A.) The User Copy the Admin/Recievers Theta Wallet Address from the Application and Login into Theta Wallets Website at https://wallet.thetatoken.org/unlock/keystore-file and make Transactions. Once the Transactions is done, Copy the Hash Transaction Address from Theta Website and Come back to our Thetaflex application.

B.) Enter the Hash Transaction Address in the Subscription Payment form and Click on Confirm Theta Payments button
. What Happens Next: The Application automatically Leverages Theta Explorer API to Perform Receivers Theta Address Matching, Tfuel Amount Validations, Checking and Matching with the Users Transaction Details in our Database. If Any Fraudulent Activities is detected, Payments Confirmation will be rejected otherwise Payments will be Made.

Once Subscription is Successfully paid for, The Subscriber can now Access and watch Online TV Shows, Movies, Games, Documentaries etc.
User/Subscriber can monitors his/her Subscription Details and Status from Subscription Monitoring System in real-time.

The Application also leverages Theta Explorer API to allow Users/Subscribers to Check their Theta Tfuel Account Balance

3.)User can interact with Other Subscribers on per Video basis. They canComments, Reply and Like Videos being published.

4.)Real-Time Notification: Allows Users/Subscribers to get notification updates each time New Video is being Published by the Admin in real-time. User/Subscribers can also gets notification when someone Comments, Reply or Like the Video they are watching in real-time.

5.) Fully Integrated Video Search Engine System: This allows Users/Subscribers to Search Videos by Title, Name, Descriptions or by Categories within the Application....

How we built it

ThetaFlex is Powered by 4 Decentralized Theta API Technologies:

1.) Theta Video API: This API automatically handles and manage all Video Uploads, Streaming and Encoding Process to and from the Application leveraging decentralized Theta Video network.
https://docs.thetatoken.org/docs/theta-video-api-developer-api

2.) P2p Video Javascript SDK: This API/SDK automatically provides compatible video player and thus facilitates to peer to peer with each users. It also allows video streams sharing to offload the CDN bandwidth to and from the Applications.
https://docs.thetatoken.org/docs/theta-p2p-javascript-sdk

3.)Theta Mainnet | Main Chain Subscription Payment System: For Subscription/Payments. The Application automatically link the User/Subscribers to Theta Wallet Web to pay for Video Subscription in TFUEL and the User will then Copy his/her Theta Hash Address for Later Subscription Payments Processing within our Application.
https://wallet.thetatoken.org/unlock/keystore-file

4.)Theta Explorer API: The Application leverages this API to Verify Video Subscription Payments on Theta Mainnet | Main Chain to prevent fraudulent Payments Activities.

It uses provided Theta Hash Address to check Theta Subscription Payments Validity. For instance, it check if the Receivers/Admin Wallet Address on our Database is the same with the Wallet Address coming from Theta Explorer API. It also Check if the Payers Subscription amount(TFUEL) in our Database Matches with the Amount from Theta Explorer API under the same Theta Hash Address. If there is a Match, Subscription Payments will be verify and Users/Subscribers will be allowed to access the application. If there is no match, Subscription Payments will be Rejected.

The Application also leverages Theta Explorer API to allow Users/Subscribers and Site Admin to Check their Theta Tfuel Account Balance
source: https://docs.thetatoken.org/docs/explorer-api-reference
REST Uri: /transaction/{hash}
REST Uri: /account/{address}

5.) Google Statistical Charts to provides Site Admin with Statistical Insights into Total number of Theta Video Uploaded so far, Total Comments, Replies etc. Shared by all Thetaflex Subscribers within the Application all via Bar Charts, Column Charts and Pie Charts statistical distribution analysis.

6.) We built this application leveraging PHP, Mysql, Ajax, Jquery, Curl, CSS, Bootstraps etc..

Free Theta Tfuel Fund for Testing our Applications Video Subscriptions/Payments System.

Remember that to test our Video Subscription Payment System, you need to have Tfuel Fund on your Theta Wallets on Mainnet | Main Chain. You can either purchase Tfuel Fund from site like Binance.com or simple send me an Email with your Wallets Address. I can send you some few Tfuel Fund about 0.5 Tfuel which is sufficient enough to test our Apps as a User.
Email: esedofredrick[at]gmail[dot]com

How to Test the Application Online.

You can create and account and Login or you can used already created account for faster access

Admin Access
Email: admin@gmail.com
password: 123

User Access
Email: user1@gmail.com
password: 123

How to Build and Test the Application Code Locally.

You will have to find readme.txt enclosed within the application source code uploaded on github

What's next for ThetaFlex

More Features coming soon....

Built With

  • theta
Share this project:

Updates