[SalesForce] Play video stored as static resources

How to play audio and video files in visualforce page? The videos are stored as static resources.

Best Answer

<video width="75%" controls="controls">
      <source src="{!URLFOR($Resource.Video)}" type="video/mp4" />        
      Your browser does not support the video tag.
</video> 

Something like this should work. I have not tested it out but in general should work. Most HTML tags would work in VF page and so the only thing that we need to do is see how we reference the static resource.