0

Video not display on the page

    <apex:page docType="html-5.0">
      <head>
          <script src="//api.html5media.info/1.1.8/html5media.min.js"></script>
      </head>
      <body>
          <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.
    </video> 
  </body>
</apex:page>
2
  • Please provide your browser name and version. Commented Feb 1, 2016 at 6:52
  • Google Chrome Version 48.0.2564.97 m Commented Feb 1, 2016 at 7:25

1 Answer 1

1

Try this code

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

It is working fine for me

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .