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
gowthamgowtham 

How to embed a video in salesforce

Vinit_KumarVinit_Kumar
You should create a VF page  and use <apex:iframe> tag to show your video.The sample code should be something like below :-

<apex:iframe width="420" height="315" src="http://www.youtube.com/embed/Qd8OtvSgal8"/>

Go through the  below links to learn more :-

http://help.salesforce.com/apex/HTViewSolution?id=000176669&language=en_US

http://help.salesforce.com/apex/HTViewHelpDoc?id=knowledge_admin_tricks_examples_videos.htm&language=en_US

If this helps,please mark this as best answer to help others :)
gowthamgowtham
but i need to add from other site\
i need only the video no need of any backgrounds

Ashish_SFDCAshish_SFDC
Hi Gowtham, 


See the below links, 

How to Embed the Youtube videos in salesforce VF pages?

https://developer.salesforce.com/forums/ForumsMain?id=906F0000000983oIAA

Can I use iframes to embed videos on visual force pages ?

Resolution
Use <apex:iframe> for embedding.

<apex:iframe width="420" height="315" src="http://www.youtube.com/embed/Qd8OtvSgal8"/>

For youTube use their embedd URL instead of buffering URL.

To insert flash image...

<apex:flash play="true" loop="true" src="http://www.tizag.com/pics/example.swf"  height="300" width="50%" />

You can also upload the SWF as a static resource and you can use that swf as follows.

<apex:flash play="true" loop="true" src="{!$Resource.FlashSWF}"  height="300" width="50%" />

http://help.salesforce.com/apex/HTViewSolution?id=000176669&language=en_US


Regards,
Ashish
Vidmate APKVidmate APK
I think iframe will be the best option since you can enable the video and customise it according to you application.
You can also checkout the link https://developer.salesforce.com/forums/ForumsMain?id=906F0000000983oIAA for detail,
And if you want to download and upload it to your application then you can use vidmate (https://vidmateapk.pro) application for your android devices it can downloads video from any url and website. Download the APP file : vidmate apk (https://vidmateapk.pro/vidmate-apk) here.