Video not display on the page

    <apex:page docType="html-5.0">
          <script src="//api.html5media.info/1.1.8/html5media.min.js"></script>
          <video width="100%" controls="controls" autoplay="true">
              <source src="{!URLFOR($Resource.Video,'sample.mp4')}" type="video/mp4" />   

          Your browser does not support the video tag.
  • Please provide your browser name and version. – Tushar Sharma Feb 1 '16 at 6:52
  • Google Chrome Version 48.0.2564.97 m – Vipin Indora Feb 1 '16 at 7:25

Try this code

<apex:page >
    <apex:iframe scrolling="true" frameborder="true" src="{!URLFor($Resource.videotest,'VideoTest.mp4'}"/>

It is working fine for me


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.