Integration with Twitter

Samba Player and Twitter

Samba Player now entered the whitelist for Twitter Player Cards, and allows viewing of videos on the social network timeline.

To do this, you must first enable your Twitter account to provide integration with our player. Follow the steps below:


Create a page with the player's meta tags. For further information, access Twitter's documentation. See the example below:

  <!DOCTYPE html>

<!-- Mandatory field-->

<meta name="twitter:card" content="player"> 

<!-- Title - Mandatory field -->


<meta name="twitter:title" content="Samba Player no Twitter">

<!-- Player Thumbnail - Mandatory field -->


<meta name="twitter:image:src" content=""> 

<!-- Player Script - Mandatory field -->


<meta name="twitter:player" content="">

<!-- Video width on Timeline--> 


<meta name="twitter:player:width" content="480"> 


<!-- Video height on Timeline -->

<meta name="twitter:player:height" content="360"> 


<!-- Samba Player Script-->

  <iframe width="640" height="360" src="" scrolling="no" frameborder="0"></iframe>
After create the page, request the validation of the domain where the page is hosted to the Support Center.
This validation is mediated by Samba Tech along with Twitter.
For further information, access our blog.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request