I'm creating a force.com site. There is one video on my VisualForce page. Now I have to upload that video as a static resource, the but video is more than 15 MB in size. I have to put that video on my website.
How can I add this video?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
You can upload the video on some other https server or a video hosting platform like Vimeo or YouTube, and reference it on the site using an
iframe. Since you are anyway exposing it in a public site, there's no harm in uploading the video and exposing it via an
YouTube gives you a video iframing code snippet like that shown below. You can use it on your VisualForce page.
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/W-Q7RMpINVo" frameborder="0" allowFullScreen> </iframe>