Question Locked

Facing problem in creating download button

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have recently launched my new project to download videos from Threads and i am facing issue while creating a fully functioning download button.

am using block editor anyone guide me please, if you want am sharing link of my blog

Kindly guide me accordingly. thanks in advance.

2 replies

by kees_b edited

I visited you site, and it said how it works. Nothing to indicate it only functions partially in stead of fully.

I doubt if the editor you use is relevant.

Anyway, better contact Meta to discuss your problem. They surely can tell you how to download any video from their Threads site.

by Harisamer214 edited

To create a fully functioning download button in the block editor, you can use the following steps:

1. Create a new block.
2. Select the "Button" block.
3. In the "Text" field, enter the text that you want to appear on the button.
4. In the "Link" field, enter the URL of the video that you want to download.
5. In the "Attributes" section, add the following code:
onclick="downloadVideo(this);"

The downloadVideo() function is a JavaScript function that you will need to create. This function will be responsible for downloading the video from the specified URL and saving it to the user's computer.

hope this helps!

This discussion is closed to new replies.