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
Related
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?
When sharing an article hosted on LinkedIn, the og:image URL expires after a certain time (I think 24 hours). Is there a direct URL to call in order to get an always up-to-date og:image?
For an internal work resource, I pull og:image to use as featured images for a site built on Wordpress that links out to the LinkedIn URL.
To quote the official documentation, LinkedIn.com: How to clear Linkedin link preview cache?...
After updating your website with perfect preview content and image, if you try sharing your website link you will still see old preview content and image. That's because LinkedIn caches link preview content for 7 days.
So, if you mean the image is expiring in that the cache isn't being updated, then that would be your problem.
You can clear the cache easily: Use the LinkedIn Post Inspector. Inspect your site with the LinkedIn Post Inspector. This causes LinkedIn to refresh your share URL's preview. It also provides useful information on how your site is rendered.
If you want to check, to verify, that it is a caching problem, then try this: share example.com?test=1 instead of example.com on LinkedIn. Since the URL is technically different, there'll be a cache miss, and LinkedIn will have to generate a fresh preview. This will at least confirm if it is a caching problem.
The basic question is this: existing WordPress with large media library had to move hosts. All media has been backed up to Google Drive, is there any automated way to update previous posts, so that media can be re-linked directly from Google Drive?
First make sure that you have a complete backup of your WordPress site. This will allow you to easily revert back in case something goes wrong during the update process.
Next, you need to install and activate the Velvet Blues Update URLs plugin.
Upon activation, you need to visit Tools » Update URLs page to configure plugin settings.
Here you need to provide the old and new URLs of your website. After that you need to choose where you want the URLs to be updated.
You can update urls in posts and pages, excerpts, image attachments, custom fields, etc.
Go ahead and select each item that you want to update and then click on the ‘Update URLs Now’ button.
The plugin will find and replace all instances of old URL with your new URL.
You can now visit your website to see that all URLs are updated.
(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.
I have some pdf's link on my site. I want whenever someone tries to download those pdf's, a popup will pop for a subscription. Now the main thing is I don't want users to cut this popup unless they subscribe to my website.
Pdf's to be allowed to download only after subscription process.
Note : There is no login or signup option on the website. It is just a normal surfable website with some pdf's link.
This plugin should do what you're looking for:
https://wordpress.org/plugins/email-to-download/
I've used it before and it worked fine back then.