Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<head>
    <script src="https://amp.akamaized.net/hosted/1.1/player.esi?apikey=DEV-STD&version=9.1.31"></script>
</head>
<body>
    <div class="sample">
        <div id="amp"/>
    </div>
    <script>
        var config = {
            autoplay: true,
            autoplayPolicy: "muted",
            media: {
                title: "Big Buck Bunny",
                src: "https://amplibrary.akamaized.net/hls/playlist-vtt/master.m3u8",
                type: "application/x-mpegURL"
              }
            };
        akamai.amp.AMP.create("amp", config).then((event) => {
            amp = event.player;
        });
    </script>
</body>
</html>
 
body {
  display: flex;
  justify-content: center;
}
.sample {
  border-style: none;
  width: 640px;
  height: 360px;
 }
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers