Trying to create a WooCommerce site for video tutorials. People can purchase individual videos using the exiting “virtual downloadable” product feature of WooCommerce. Easy. But I also want to have an option where people can pay a subscription fee to get access to all of the videos in a streaming format. They still have to pay if they want to download a video. The subscription product just gives them unlimited streaming… NOT unlimited downloading.
Setting up a subscription product is easy with existing add-ons. And I’m sure it’s not that difficult to create a custom product page template that tests if a logged in user has a subscription or not. If they have a subscription the product page will have a video player (progressive download is fine… doesn’t have to be real streaming / RTMP). If they don’t have a subscription they just see a static image where the player would otherwise be. ALL users see the purchase buttons.
WooCommerce protects digital downloads with an htaccess rule (deny from all) and then uses a custom PHP function with various checks (order placed, users email, etc.) plus a token to force a download of the protected file. Great. The problem is how to do something similar when streaming in order to protect the videos from direct linking. I don’t want people to subscribe and then just “view source” and download all of our 600+ videos.
Anyone interested in quoting on this? Security doesn’t have to be bullet-proof. No need for an RTMP server or other security measures. And the video player MUST work on iPad BTW… so MP4 files not Flash. All I really care about is that users can’t simply “view source” and paste a direct link from the video embed tag into their browser window to steal all our videos. Just enough security to deter the casual thief. At least as secure as the normal WooCommerce downloads.