Login | Register | FAQ
Anonymous

Download link

+ Post a reply

6 posts Page 1 of 1


Download link

by Chikwado » Sat Jul 12, 2014 1:26 pm

A video in my webpage, how to create a download link.
User avatar

Chikwado

  • Posts: 87
  • Joined: Mon Jul 29, 2013 11:36 pm
  • Location: Nigeria

Re: Download link

by XainPro » Tue Jul 15, 2014 4:55 am

in what format your video is ?
you can create download link like this

<a href="video_Path/Video_name.mp4" download>Download Video</a>
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Download link

by Chikwado » Wed Jul 16, 2014 10:04 am

Dear xainpro, I made my code like this: <video width="320" height="240" controls><source src=myvideo.mp4" type="video/mp4"><source src=myvideo.ogg" type="video/ogg"></video>
User avatar

Chikwado

  • Posts: 87
  • Joined: Mon Jul 29, 2013 11:36 pm
  • Location: Nigeria

Re: Download link

by XainPro » Thu Jul 17, 2014 11:57 am

<video width="320" height="240" controls><source src=myvideo.mp4" type="video/mp4"><source src=myvideo.ogg" type="video/ogg"></video>

This code is for playing video on web browser


make it like this to download video link

<a href="myvideo.mp4" download>Download Video</a>
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Download link

by Chikwado » Thu Jul 17, 2014 2:04 pm

Thanks a lots. But is it possible to use the same specification for audio?
User avatar

Chikwado

  • Posts: 87
  • Joined: Mon Jul 29, 2013 11:36 pm
  • Location: Nigeria

Re: Download link

by XainPro » Sat Jul 19, 2014 7:57 am

yes you can use it for audio as well.
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1