登录 | 注册 | FAQ
Anonymous

Download link

+ 发表回复

6 篇帖子 分页: 1 / 1


Download link

Chikwado » 周六 7月 12, 2014 1:26 pm

A video in my webpage, how to create a download link.
头像

Chikwado

  • 帖子: 87
  • 注册: 周一 7月 29, 2013 11:36 pm
  • 地址: Nigeria
--
Focus On Advance Science And Programming.

Re: Download link

XainPro » 周二 7月 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>
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: Download link

Chikwado » 周三 7月 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>
头像

Chikwado

  • 帖子: 87
  • 注册: 周一 7月 29, 2013 11:36 pm
  • 地址: Nigeria
--
Focus On Advance Science And Programming.

Re: Download link

XainPro » 周四 7月 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>
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: Download link

Chikwado » 周四 7月 17, 2014 2:04 pm

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

Chikwado

  • 帖子: 87
  • 注册: 周一 7月 29, 2013 11:36 pm
  • 地址: Nigeria
--
Focus On Advance Science And Programming.

Re: Download link

XainPro » 周六 7月 19, 2014 7:57 am

yes you can use it for audio as well.
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm


+ 发表回复

分页: 1 / 1