So this is the process: customer buys any number of video tutorial modules > modules appear on customers page but appear as embedded YouTube videos instead of digital download link. Client prefers the option to avoid people sharing the files if they are downloaded.
Is this possible?
thanks
___________________________________________
"Speak softly but carry a big stick"
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Regarding the video, treat it as a product, you can attach it to the order and make it disabled for customers who did not order the
There are many streaming sites I saw, on which only part of the video gets downloaded while watching the video. Even customer gets the url of the video, it is hard to download the entire video once. customer will able to download part of the video. They must be a good programmer to do so.
Thanks & Regards
Sehaj Kaur
TMD Extensions
Contact Us For Customisations
I think you misunderstood, it seems to be the OP is worried about downloaded files being shared and that's why they want to embed.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Well yes, obviously, with some custom development.
If you have a client, presumably you are a developer who can do this?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I mean you should also perhaps consider that if they're on YouTube they will be public.
You could host them on your server and embed them on the page, which would be better, but wouldn't prevent them being saved by someone who knew what they were doing.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
https://streamingvideoprovider.com
I have a client that uses them. They're very good.
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
I managed to have ai generate this:
Code: Select all
// Check if the file being downloaded is a video file
if (pathinfo($filename, PATHINFO_EXTENSION) == 'mp4') {
// Display the embedded video player echo '<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>'; } else {
// Display the download link echo '<a href="' . $download['href'] . '">' . $download['name'] . '</a>';
___________________________________________
"Speak softly but carry a big stick"
Users browsing this forum: No registered users and 19 guests