HTML5 VIDEO is not working in my rails 3 app

前端 未结 4 1507
执念已碎
执念已碎 2020-12-16 19:17

I am trying to display HTML5 video in my Rails 3 app in development,i am using Sqlite3 and default webserver(Webrick).I put the video file (movie.ogg) under assets (assets/m

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-16 19:46

    The assets pipeline is used for static assets. If you're adding video files to your app often, you should put them somewhere else (for example, public/videos or public/system/videos). If they really are static assets, try restarting your server first.

提交回复
热议问题