S3Bubble Official Documentation

  • We work on our documentation daily if you feel we are missing anything please let us know support@s3bubble.com

DEMO: Firing Player Ended Event

Example: OPEN EXAMPLE PLAYGROUND

!Important Include scripts
<!-- INCLUDE THE CSS IN THE HEAD OF YOUR DOCUMENT -->
<link rel='stylesheet' href='https://unpkg.com/s3bubble-javascript/s3bubble.min.css' type='text/css' media='all' /> <!-- INCLUDE THE JAVASCRIPT IN THE FOOTER OF YOUR DOCUMENT -->
<script src="https://unpkg.com/s3bubble-javascript/s3bubble.min.js"></script>
Javascript - Must be added after the js file
s3bubble("s3bubble-media").video({
  "codes": ["qPtj41773"],
  "source":{
    "poster": "https://j.gifs.com/2RMZAN.gif"
  },
  "meta": {
    "skipButtons": false, // Show skip buttons
    "showSocial": true, // Show social
    "backButton": true, // Show back button
    'subTitle': "You're watching", // subtitle
    "title": "Using a gif for poster", // title
    "para": "Simply upload you gif through the admin database or add directly like this..." // Synopsis
  }
},
  function(player) {
    player.on("ended", function() {
      alert("do something");
    });
  }
);

Live Examples

Distributing millions of videos
every month via Wordpress

S3Bubble is a SAAS platform for media streaming via Wordpress designed to help all your media streaming needs

Free Trial