| Demos | Tooltip

Tooltip

Tooltip demo source

Copy the code below to obtain your own standalone demo.


<!doctype html>

<html>

<head>
   <meta charset="utf-8">

   <title>Video in tooltip · Standalone demo · Flowplayer</title>

   <!-- optimize mobile versions -->
   <meta name="viewport" content="width=device-width, initial-scale=1.0">

   <!-- The Flowplayer skin -->
   <link rel="stylesheet" href="https://releases.flowplayer.org/7.2.6/skin/skin.css">

   <!-- Minimal styling for this standalone page (can be removed) -->
   <style>body {
      font-family: "myriad pro", tahoma, verdana, arial, sans-serif;
      font-size: 14px;
      margin: 0;
      padding: 0;
   }
   #content {
      margin: 50px auto;
      max-width: 982px;
   }
   
</style>

   <!-- CSS for this demo -->
   <link rel="stylesheet" href="https://flowplayer.org/media/css/demos/layout/tooltip.css">
   
      <!-- Flowplayer depends on jquery for video tag based setups -->
   <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
   
   <!-- Flowplayer-->
   <script src="https://releases.flowplayer.org/7.2.6/flowplayer.min.js"></script>


<script>
// configure rtmp for this demo
flowplayer.conf.rtmp = "rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st";
</script>


</head>

<body>
<div id="content">


<div id="tooltip" class="demo">

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:10%; left:22%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city1/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city1/480x480.mp4">
      <source type="video/flash"
              src="mp4:city1/480x480"></video>
</div>

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:17%; left:47%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city2/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city2/480x480.mp4">
      <source type="video/flash"
              src="mp4:city2/480x480"></video>
</div>

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:25%; left:25%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city3/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city3/480x480.mp4">
      <source type="video/flash"
              src="mp4:city3/480x480"></video>
</div>

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:49%; left:49%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city4/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city4/480x480.mp4">
      <source type="video/flash"
              src="mp4:city4/480x480"></video>
</div>

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:34%; left:84%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city5/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city5/480x480.mp4">
      <source type="video/flash"
              src="mp4:city5/480x480"></video>
</div>

<div class="flowplayer fp-minimal is-closeable"
     data-ratio="1"
     data-splash="true"
     style="top:60%; left:60%">
   <span class="fp-toggle"></span>
   <video>
      <source type="video/webm"
              src="https://edge.flowplayer.org/city6/480x480.webm">
      <source type="video/mp4"
              src="https://edge.flowplayer.org/city6/480x480.mp4">
      <source type="video/flash"
              src="mp4:city6/480x480"></video>
</div>

</div>

</div><!--/end content -->
</body>

</html>