function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Case ManagerCase Manager 

Display video in a Visualforce Page

I have a video of 200MB, since single static resource file size should not be greater than 5MB I have uploaded the file through chatter.  How do I display the video in a VF page?'

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

Try with below code  it will help . Only thing is that in place of you tube link you need to chnage your chatter video link .
 
<apex:page>
     <apex:iframe width="854" height="510" src="https://www.youtube.com/embed/SGPvYQ1o2x4" frameborder="0"/>
</apex:page>
Please let me know incase any issue .

Thnaks 
Manoj

 
Amit Kumar Singh 19Amit Kumar Singh 19
Hi Manoj,

Embeding youtube video works fine, but any video uploaded on chatter file is not working (Playing).
Can you please check and provide any solution.

Thanks