How can I have private videos (on a private Pro Vimeo profile) viewable and DOWNLOADABLE on my website? - wordpress

(Using Wordpress plugins and Vimeo API)
I have had a bespoke Wordpress plugin built and am struggling now with one capability.
I have paid for a Pro Vimeo account so that I have better privacy options, but I need to have the videos viewable and most importantly DOWNLOADABLE on my client's website.
I am sure this was possible before, but after three software developers have tried and mostly not managed to complete my job briefs, I am left pretty desperately on how to finish this key functionality.
When I try to download the videos straight from the website, it won't let me and takes me to a blank page. The only way to fix it is to make my Vimeo profile and videos public on Vimeo however, it is vital that they are private on there.
I would be SO GRATEFUL if someone could help me.

You need to use the API to retrieve file download links for your videos.
Make an authenticated request to https://api.vimeo.com/videos/[video_id] using a token with the video_files scope. In the response is an array "download" that will contain video file metadata, including download links, and the expiration time of those links.

Related

How to build Learndash custom Video Provider plugin?

I am currently using Learndash for my LMS. I noticed that it supported YouTube, Vimeo, HTML5.
The problem is that I want to protect my videos by using something like Amazon S3 Presigned URL that will expires within several minutes. I want to build a plugin for a custom Video Provider, where I can put the bucket, access key and secret key as the plugin configuration and then the video object key as the video data.
When a learner open the video page, this plugin will send out request using SDK to create a presigned URL that expires in 10 minutes. When it receives the URL, the plugin will play the URL in the video player.
I have a basic understanding of writing WordPress plugin but I am not too familiar with LearnDash core. Any tips on the points below would be great!
What hook I can use?
Which file I should take a look into?
Which part of the LearnDash documentation?
Is there any simple LearnDash addon that I can learn for?
How to store and retrieve the video ID in the related course topic?

how can I protect my videos from download in WordPress template?

I wanna upload my tutorial videos on a WordPress website. I was wondering if there is any solution to protect these videos from download. I'd rather if students can only use them online.
the videos will upload to a private host and using embedded links I'm gonna make them visible on my website. but I need them to be protected from the download.
is it possible?
I don't think so..
The principle of the video is to send content on the computer of those who watch it, I think there will always be a way to download the video... it will be more or less difficult, but possible.

pull Vimeo download link in wordpress post

I am a Vimeo Pro user and they have an option of downloading my videos. My concern so far is once i publish the video download URL in a membership site and a person distributes it over the web, i have no control over it but to delete the video itself.
I was told i can generate the download URL through the Vimeo API to come up with expiring download links. But when I tried to get a video download URL through the API playground, it seems it expires after a certain period of time. If I go this way, that means I have to replace my video download URL's in my wordpress site every time a URL expired.
Is there a way for me to pull the non-expiring download URL of the video but the users in my Wordpress site see an expiring download link when they click on it - like Amazon S3 download URLs?
If there is, what are the codes needed and where would I place the codes in Wordpress core files like functions.php etc?
Thanks for your help and instructions from the basic steps.
I can't give wordpress specific examples, but one way might be to create your own wordpress page that generates the download link, and redirects your user to the download link.
Then you can control access via the wordpress link

How to allow wordpress users to upload directly to youtube or vimeo?

Is anyone aware of a way to allow users through wordpress to upload video straight to my youtube or vimeo account? My original plan was to allow the users to upload directly to my dropbox account which I had linked to my Vimeo account but unfortunately the functionality that Vimeo promises is less than reliable, https://vimeo.com/help/faq/uploading-to-vimeo/uploading-from-dropbox. I also found a version using the old API for youtube, https://developers.google.com/youtube/2.0/developers_guide_protocol_browser_based_uploading#Uploading_the_Video_File but it doesn't seem like anyone has had any luck on the new API. Any comments or suggestions are greatly appreciated.
There is a WordPress plugin available that allows you to upload directly to your Vimeo account.
http://vimeography.com/add-ons/vimeography-upload/
Source: I made it :)

How to create an audio streaming site in the style of Lynda or other video-training sites?

I would like to make a streaming store like Lynda.com, Udemy.com, or other video-training websites - where the customer can buy and/or subscribe to my digital library, but the customer can only stream the content, no downloading. Is this something I should do in WordPress, Shopify, or something else? A key aspect would be the customer being able to go back-and-forth between buying an individual stream and a monthly subscription without losing their purchased streams.
The content will be self-created audio files. As far as the audio-player, I was thinking about using SoundCloud.com and privatizing the audio on SoundCloud.com. Then embed the audio onto the site to prevent pirating and rely on a third-party site to host the audio content rather than burdening the hosting provider. Or is there a better solution?
Thanks for any feedback!
You CAN use Wordpress, but there will need to be more involved then just setting up a basic website. You'll need to provide the user with a unique URL to stream the content from.
Other than building a custom platform, you can use something like http://buddypress.org/ to create user profiles. And only allow paid users to access certain content.
Shopify will only help with taking orders. Not giving users account access to login.
You could use shopify, then build out a user login side using something like Heroku. We had a similar goal to build a marketplace for live music bookings - basically the difference here being that the artists were the users, not the customers. We used Collections as profiles and Products as bookable packages. We simply embedded youtube vids and made sure to turn off recommendations in the youtube embed code. We currently make this information public, but it could be behind a login (the basic login/account that shopify provide) in your instance. It would be a little bit manual: e.g. they 'purchase' the subscription, then they create a login at checkout, whereby they're then able to access the videos/audio.
Have a play with our marketplace as an example of what I mean: tremolo.com.au

Resources