关于 HTML5 的 audio 标签在 Rails 中的使用

大家好:问题描述:这两天在倒腾auto,遇到一个问题,向大家请教下。我随机新建一个html文件,然后测试:<audio src="http://ruby-china.org/home/hicupp/rails/test_1/hello.ogg" controls="controls">Your browser does not support the audio tag.</audio>结果音频文件正常播放。但是到了rails程序里,还是这个语句,就播放不了了。于是果断F12调试了下,试图打开那个音频文件但是结果却是:No route matches [GET] "/home/hicupp/rails/test_1/hello.ogg"。这是什么原因啊?

关于 HTML5 的 audio 标签在 Rails 中的使用

相关文章:

你感兴趣的文章:

标签云: