10 Replies Latest reply on Jul 25, 2013 7:21 AM by Mohit Raheja

    Video file in .erb file

    Mohit Raheja



      I am trying to embed a video in my .erb file using video tag tag of HTML5, but it's not working.

      here's my code:


           <video width="320" height="240" loop autoplay >

            <source src="D:/movie.mp4" type="video/mp4">



      Can anyone suggest me please how to embed a video in my .erb file?


      Thanks in advance!!!



      Mohit Raheja