Follow

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:

Integration

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

  <!DOCTYPE html>
  <html>
  <head>
 

<!-- 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="https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-ash4/999092_10151609394748721_546229003_n.jpg"> 

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

 

<meta name="twitter:player" content="https://fast.player.liquidplatform.com/pApiv2/embed/64819781ada0d0909868facd62337972/060f576f948576a8bd19366554d55508?enableShare=false">

<!-- Video width on Timeline--> 

 

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

 

<!-- Video height on Timeline -->

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

  </head>
  <body>
 

<!-- Samba Player Script-->

  <iframe width="640" height="360" src="http://fast.player.liquidplatform.com/pApiv2/embed/64819781ada0d0909868facd62337972/060f576f948576a8bd19366554d55508?autoStart=false&wideScreen=true" scrolling="no" frameborder="0"></iframe>
   
  </body>
  </html>
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