Any ideas for downloadable videos?
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=5455
Printed Date: 31-October-2024 at 10:27pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Any ideas for downloadable videos?
Posted By: manabeads
Subject: Any ideas for downloadable videos?
Date Posted: 19-January-2013 at 8:43pm
I offer downloadable instructions (pdfs) which work great through Product Cart. However, with an instructional video sale it's a lot trickier.
I can't have the customer download the whole video because the file is ridiculously large. I can create a video that easily plays on a webpage (basic htm file), but then the customer only downloads the htm file and can't see the embedded video - since it has not been downloaded.
Plus, I appreciate the hidden URL feature and expiring download link.
Any ideas out there on how to work this great Product Cart element into a video provider?
|
Replies:
Posted By: Guests
Date Posted: 20-January-2013 at 1:29am
Hi @Manabeads,
I'm not sure I'm following what you are ultimately requesting here.
Are you wanting customers to be able to download video files, or are you wanting them to download a web page file that has the video embedded?
We've a client using PC to provide video content via Amazon's CDN service, but I'm not sure what you're wanting is the same as what they are doing.
If you could flesh out your request a bit more, that would be helpful.
|
Posted By: Greg Dinger
Date Posted: 20-January-2013 at 10:14am
I'm checking into something for you. Someone spoke of an alternat solution that he used on a different cart just in the last couple days.
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: manabeads
Date Posted: 20-January-2013 at 11:31am
Sorry for the confusion.
Ultimately I want a customer to be able to purchase an instructional video through Product Cart. I would like them to receive a link to the video just as they do when they purchase a pdf file from me.
If I have them download the video file, it's too cumbersome. They need to be able to watch it through their computer.
I would like the location (URL) of that file to be hidden. And I would like the link to expire in a designated amount of time.
I am capable of creating a page that features a video (one for free, for example) that is easy to watch, that loads up quickly etc on a regular webpage (using a flv file format).
So, my problem is how can I configure my video into a file that Product Cart can handle, OR how can I modify PC for making this purchase possible.
|
Posted By: Guests
Date Posted: 21-January-2013 at 7:12pm
Hi @manabeads,
I'm thinking what I would probably do here is the make the actual download a simple .htm file. That file would include an iframe which would pull a custom .asp file from the site. That file would authenticate login, if customer is not currently logged in and still has access to the deliverable, else load the movie. This would protect the location of the .swf (see a proto-mockup here: http://www.wmsmerchantservices.com/zTest-hideFLASH.asp" rel="nofollow - http://www.wmsmerchantservices.com/zTest-hideFLASH.asp -- no way to discover where the movie is actually sourced).
Aside from some custom scripted for the above, the bit that would need to be added to PC is a second file location for these downloadables. If the movies are all the same width/height, then this could just be the path to the .swf; else it could be a file or script in which you do the embed.
Does this sound like something that would work for you?
|
Posted By: Guests
Date Posted: 21-January-2013 at 8:46pm
Actually, skip the bit about adding a second file location for this; I've got an even simpler idea. Nothing in the PC application would need to be touched -- only a bit of external scripting and protocol would be needed.
PM me with your phone number if you'd like to discuss.
|
Posted By: Brett
Date Posted: 24-January-2013 at 3:54am
Maybe something like this? http://vzaar.com/about/commercial_video_hosting I believe it would be easy to integrate into productcart
|
Posted By: Guests
Date Posted: 24-January-2013 at 10:28pm
Hi Brett,
I'm not seeing how vzaar would solve Pam's concern here vis a vis the downloadable product features of ProductCart.
Could you enlighten us how this would be a solution for her request?
|
Posted By: Brett
Date Posted: 24-January-2013 at 11:17pm
Hi Sean,
Prepare to be "enlightened". I'm not an expert with vzaar, but since the title was "Any ideas for downloadable videos?" I figured I'd throw an idea out there. He said in his post:
Ultimately I want a customer to be able to purchase an instructional video through Product Cart. I would like them to receive a link to the video just as they do when they purchase a pdf file from me.
|
And according to other posts, the only problem with this approach is the logistics of hosting and making the video files available for download, in terms for file space and bandwidth.
So heres what he would do. Sign up for vzaar, and upload his instructional videos. For each of them, set a different password (check out vzaar and you'll see this is all quite easy to do - i just figured it out in about ten minutes).
Then, he will add a new downloadable product on the ProductCart backend. For the Downloadable file location field, he will enter the URL of the video on vzaar, such as: http://vzaar.com/videos/1161680
As you can see, it asks for a password to view the video. So, in productcart, he will enter the password in the License Field.
Then, all the customer has to do is purchase the downloadable product, follow the link, and enter the password to download their video. It does open the risk of people sharing the passwords, but I believe that could be solved byt using "Signed Keys" which, according to vzaar, are "dynamically generated by your application using your secret signing key". (http://vzaar.com/help/kb/features/securing-content-with-signed-keys)
Though I'm not sure that would really be necessary, unless he is worried about people sharing passwords and download links.
After running a quick test, it appears he would be able to add downloadable products, link to the videos, and have them available for download by his customers, secured by a simple password on each video.
If he needed added security and was worried about customers sharing download links and passwords, he could use the signed key security. However, the customer could just as easily download the video and host it themselves if they really wanted to, regardless of any security measures.
Or am I seriously overlooking something here? Please, enlighten me.
|
Posted By: Guests
Date Posted: 25-January-2013 at 2:22am
Hi Brett,
Thanks for the illumination. I totally see where you're coming from, and it's definitely a viable option for someone working with this feature offering in PC -- the main difference being the option to: - "Hide the URL" -- this option secures the file to an unknown location (typically one would locate it about their web root folder so there is absolutely no way to browse to it); the downside is that this requires a response buffer and that is limited to 4 MB. One might also consider the hosting costs of storage and bandwidth a possible downside compared with the other option ...
- Use an HTTP path -- this option let's the "cat out of the bag" with no real direct protection from PC. The HTTP path itself cannot be protected through any "out of the box" PC features. The upside is that one cold elect to serve the content from other sources such as Amazon's CDN service or, say, vzaar.
The Singed Keys feature sounds interesting though and might could be played off features PC does provide.
I'll be discussing this with Pam @ManaBeads tomorrow. I'll make sure she's seen this as an option.
As I understand it, ManaBeads: - Does not want customers to have to download the videos (they are too large)
- She wants the URL location hidden
- She'd like to use the PC features to control the access, esp. expiration date
I've got a pretty simple solution for all of that.
PS: RE "However, the customer could just as easily download the video and host it themselves if they really wanted to, regardless of any security measures."
The solution I came up with makes that impossible (or at least I haven't found a way to hack my solution yet -- so that would rule out 99.9999% of ManaBead customers, I expect). The source with this solution could indeed be some other service such as vzaar or even a CDN service -- provided that service didn't provide some other back door into discovering the file HTTP location (a YouTube video wouldn't work as it's too searchable, for example).
|
Posted By: Brett
Date Posted: 25-January-2013 at 3:23am
I see what you mean Sean. It sounds like the solution you came up with is much better, especially as it is more tightly integrated with productcart's handling of downloadable products.
|
Posted By: Guests
Date Posted: 25-January-2013 at 3:49am
Thanks, Brett.
I think this could be an interesting and easy enhancement to PC.
ProductCart is loaded with options -- some times the array of possible options is overwhelming (after years of intense use and modifying things, I still stumble around with some features!).
You input here is definitely valuable for some folks in the way they'll want to use it. As I mentioned early on in this thread, we've a client using Amazon's CDN service which is in the most basic ways similar to the vzaar solution you've suggested.
A solution along those lines didn't seem to me to be what ManaBeads is looking for, though.
Have you tried hacking my link, by any chance? The "obfuscation" I used is amazingly simple. I haven't found a way to hack it yet ... but I could be missing something obvious.
|
Posted By: manabeads
Date Posted: 25-January-2013 at 10:08am
I love all the feedback! Thank you.
I checked out vzaar and it is very much what I'm interested in except it's a bit more than I need right now. If my video library grows and need better management it would be something I'd do. It's nice to see that it can be worked into PC if needed.
My security issues are medium. People purchase my pdfs and they can give them to friends - I realize that. It would just be nice to have the videos a little better protected.
|
Posted By: Guests
Date Posted: 29-January-2013 at 4:21am
I just couldn't resist taking on this project.
I see the need for providing a downloadable UI that protects the source location while allowing the media to be provided from any source ... all while using PC's built-in protections.
I've built an interface that is multi-layered such that there is no way to find the ultimate media source file no matter where it is coming from. All PC protections apply. No need to touch a single line of PC source code. Rather, just a snippet of WMS code (two lines) at the top of the HTTP path you define, and you're golden.
You can test drive it here (and please let me know if you can find any way to hack your way to the content source file -- I'll owe a pound of coffee beans or a sixer of craft beer if you can -- your choice, as I live in the land of coffee and craft beer!): http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/Digital-Download-Product-3-6p61.htm" rel="nofollow - http://pc46a-wms-net.3060.wmsmerchantservices.com/store/pc/Digital-Download-Product-3-6p61.htm
For your payment method, use the "Just Testing" option.
You'll know be logged in and your options are standard PC.
Try to copy any URL you can find in this mix, and you won't get access (offer above applies X 2). There is no way to get to the "downloadable"/online access video or whatever media file without running through PC's authentication first ... and then there is just NO way to share it short of customer A providing all of their access to friend B (pretty hard to protect against that level of cheating unless you can protect your content with keys)
Best off all, not a line of PC code to change, and no database update needed.
|
Posted By: Hamish
Date Posted: 29-January-2013 at 4:52am
Sweet! I took a quick look and the video seems to be hosted on the mana beads website, but exactly where I cannot tell - or is that just the player...
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Guests
Date Posted: 29-January-2013 at 8:31pm
Oopsie. My oncontextmenu block slipped out from my in-progress files. I popped that back in.
However, I did find that I could drill through it with FireFox's view source (as the links to src's in FF behave just as if you were in the visual side of the browser), so I had to add a human interaction with a form post (a "play" button with a copyright notice).
Now I'm pretty darned sure there's no way to ferret out where the media is coming from.
I think I'm now ready to package it up as a plug-in.
|
Posted By: Guests
Date Posted: 30-January-2013 at 12:58am
I just love a challenge that really gets me to think creatively. Yeah sure, simply putting one's experience to task is good (that's what pays the bills, right?), but every once in a while something comes along that is just an irresistibly interesting nut to crack ... and such nuts will inevitably force one to see things in ways they haven't looked at them before.
This project was an interesting study in the way various browsers execute "view source".
I tend to work in Chrome and then go check things out in other browsers. Chrome's view source executes a page exactly as if you had just called for that page in the visual side -- it loads a page as if you hadn't already loaded it on the visual side. That much I've always known, and that's very useful for debugging.
IE, Opera and Safari are very literal. That is, their view source is exactly what you just loaded in your visual side as if that page load were static markup.
FireFox, however, is another animal: it's view source loads exactly as if you were on the visual/user interface side ... and provides links to src's and loads them when clicked exactly as if one were on the visual/UI side.
So, FireFox's view source provided an easy drill down through all of the server-side protections I buttressed this with. Given that, I found that the only way to stop that was to introduce a human interaction -- a form post using the "post" method.
I think that nailed it and makes it impossible to discover the actual source location of the media.
I've love any feedback from anyone who can get past it as it is now.
Other layers of protection could be added, but I don't think are necessary and would make it less user-simple for merchants. For example, Mana Beads uses a JavaScript-based player to play their .flv videos. Using a JavaScript obfuscation would make it that much more challenging to crack ... but I expect that anyone who could find a way through this current milieu could probably de-obfuscate the JS pretty easily -- so why bother?
|
Posted By: manabeads
Date Posted: 31-January-2013 at 11:33am
Thank you! Very satisfied. Very little code manipulation on my end and completely ProductCart-integrated.
|
|