如何为yout vistors添加音频文件下载? [英] How do you add an audio file for yout vistors to download?

查看:75
本文介绍了如何为yout vistors添加音频文件下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Expression Web,如何为访问者添加音频文件以供下载?我弄清楚了吗?我正在尝试添加.mp3,.pdf和.doc文件供我的访问者下载,但我不知道如何使其可用。有人知道吗?

解决方案

如果你的意思是只是下载而不是在线玩,部分内容将取决于访问者的浏览器如何设置来处理文件代表的类型。例如,某些浏览器会提供使用Acrobat Reader在浏览器中打开PDF而不是下载它。同样,一些mime类型将导致浏览器打开该类型的播放器,如果它以这种方式配置并具有适当的插件。

为了确保在几乎所有情况下该文件都将提供下载而不是打开或播放,只需将文件压缩。这不仅会导致浏览器提供下载,还会节省带宽,因为文件会更小。将文件放在子文件夹或计划存储的任何位置,然后为其提供标准URL,如 http:// www.yoursite.com/yourFilesFolder/theFile.zip 的。

欢呼声,
斯科特

For Expression Web, How do you add an audio file for your visitors to download? I cant figure it out? I'm trying to add .mp3, .pdf, and .doc files for my visitors to download, but I dont know how to make that available. Anyone know?

解决方案

If you mean just downloading, and not playing online, part of it is going to depend upon how the visitor's browser is set up to handle the file type represented. For example, some browsers will offer to open a PDF in the browser using Acrobat Reader rather than download it. Likewise, some mime types will cause the browser to open a player for that type if it is configured that way and has an appropriate plugin.

To ensure that in almost all cases the file will be offered for download instead of opening or playing, just zip the file up. That will not only cause the browser to offer to download it, it will save your bandwidth since the file will be smaller. Put the file in a subfolder or wherever you plan to store it, then provide a standard URL to it, like so http://www.yoursite.com/yourFilesFolder/theFile.zip.

cheers,
scott


这篇关于如何为yout vistors添加音频文件下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆