Latest Activity

Dighe Ajay Dadabhau updated their profile
16 hours ago
Dr.Stephen.G and Sanjay Sharma are now friends
yesterday
Tripti Shah updated their profile
yesterday
ABHISHEK KUMAR GAUD joined Badan Barman's group
Friday
ABHISHEK KUMAR GAUD joined Ravi Ajagekar's group
Friday
ABHISHEK KUMAR GAUD joined Badan Barman's group
Friday
Rubi Goswami replied to suman jain's discussion NDLI Club
Thursday
Sanjay Sharma updated their profile
Thursday
Sanjay Sharma and Badan Barman are now friends
Thursday
SHIVA KANAKALA posted blog posts
Wednesday
MANJUNATH updated their profile
Wednesday
A blog post by SHIVA KANAKALA was featured
Wednesday
Mr. Bharat Sondarva replied to Alka Gohel's discussion What is Scientific Journal Impact Factor (SJIF)?
Tuesday
Yogesh Kumar posted an event
Thumbnail

A Five days Online Training Programme on Library Automation using Koha (Open Source Software) at IGNTU, Amarkantak MP

September 3, 2021 to September 7, 2021
Tuesday
Dr.Stephen.G posted a discussion
Tuesday
Profile IconSUNIL KUMAR, Anjali Pal, Sudesh devi and 2 more joined LIS Links
Tuesday
Dr.Stephen.G posted blog posts
Tuesday
Profile IconDAYAL SINGH BHATI and Nazia Salauddin are attending Badan Barman's event

4th ILISS International Conference 2021 at Virtual

October 7, 2021 at 6pm to October 8, 2021 at 7pm
Tuesday
SHIROMANI BAJAJ posted a status
"Can any one guide what value can be taken of old books and journals while calculating the total value of library holdings for insurance pur"
Tuesday
Ramakant Jha left a comment for Saanvi Singh
Tuesday

Downloading the content(videos/audios/files) from the local cloud devices using the HTML5.0 code

Dear All,

I would be glad to share with you all that if you have some useful stuff at your local cloud or hosted in cloud stroage devices at your intranet; easily you can download from other localhost or from any node at the local network.

The traditional method/style of linking contents using <a href="#">download</a> may not respond all the time because of the localhost and the local cloud, you need to put extra support to trigger the embedded link in the browser to get the files downloaded in your computer.

Traditional style or HTML 4.0 tag (if working fine then it is ok)

<a href="#">Click Here</a>

If this code is not working...

One must use the following set of properties

<a href="#" id="1" download="1">Click Here</a>

Problem what we were facing: We have NPTEL video lectures in our library saved in Cloud Storage Device hosted on the local network. The provided code of NPTEL was not functioning due to lots of local variables and the video lectures were not downloadable using NPTEL provided code. We used to get lots of query from users that they are not able to download.  Then I decided to change the code provided by the NPTEL to make them downloadable instead of playing in the browser.

I modified their code and I found the code was properly responding in my local machine but once I uploaded on a web server we found links were not responding/downloading but when we used to hit enter by selecting URLs the link used to fetch the result.

I searched for the solutions since at local machine it was working very fine but on through web server the link was requiring an extra hit to fetch the result.
I found another solution but that solution seems links unprofessional or old fashion coding style which is as

<a href="#"  download=”#”>Click Here</a>

I replaced the few linked code then I realized it could be a joke for someone so I thought to put the id and link the id for getting downloaded with standard download keyword of HTML 5.0. That is working fine now.

<a href="#"  download=”#”>Click Here</a> instead of this

try this

<a href="#" id="1" download="1">Click Here</a>


So if you are having NPTEL in your library and you are not able to help your users in getting downloaded pls use this method and get the videos downloaded.

If any of you have such problem and not able to solve please contact me.

 

 

Views: 450

Reply to This

Replies to This Forum

good work

Thank you sir 

RSS

© 2021   Created by Badan Barman.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Koha Workshop