Permalink
Switch branches/tags
Nothing to show
Find file Copy path
f7282e5 Jan 20, 2015
Iain Houston Add comments
2 contributors

Users who have contributed to this file

@WilliamRandol @iainhouston
87 lines (71 sloc) 4.29 KB
<!DOCTYPE html>
<html>
<head>
<title>bootstrap3_player demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~ Required CSS files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap3_player.css" rel="stylesheet">
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
</head>
<body>
<div class="container">
<div class="jumbotron">
<h2>bootstrap3_player</h2>
<p><a href="https://github.com/iainhouston/bootstrap3_player/blob/master/index.html">index.html</a>
shows the very simple html needed to include bootstrap3_player in your page.</p>
<a role="button" class="btn btn-primary btn-lg" href="https://github.com/iainhouston/bootstrap3_player">
<span class="glyphicon glyphicon-download" aria-hidden="true"></span> GitHub
</a>
</div>
<!-- /jumbotron -->
<div class="row col-md-8 col-md-offset-2 col-xs-12">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Example: Audio with data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<audio controls
data-info-album-art="https://farm9.staticflickr.com/8642/16106988340_058071cdbe_z.jpg"
data-info-album-title="8874"
data-info-artist="Iain Houston and Felix Gibbons"
data-info-title="BeBop Aliens"
data-info-label="Independent"
data-info-year="2005"
data-info-att="Music: Iain Houston and Felix Gibbons."
data-info-att-link="https://github.com/iainhouston">
<source src="http://playerdemo.iainhouston.com/tests/BeBopAliens.ogg" type="audio/ogg" />
<source src="http://playerdemo.iainhouston.com/tests/BeBopAliens.mp3" type="audio/mpeg" />
<a href="http://playerdemo.iainhouston.com/tests/BeBopAliens.mp3">BeBopAliens</a>
An html5-capable browser is required to play this audio.
</audio>
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
</div><!-- /row -->
<div class="row col-md-6 col-md-offset-3 col-xs-12">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Example: Audio with no additional data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<audio controls>
<source src="http://www.w3schools.com/html/horse.ogg" type="audio/ogg" />
<source src="http://www.w3schools.com/html/horse.mp3" type="audio/mpeg" />
<a href="http://www.w3schools.com/html/horse.mp3">horse</a>
An html5-capable browser is required to play this audio.
</audio>
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
</div>
<!-- /row -->
<footer class="row col-md-6 col-md-offset-3 col-xs-12">
<div class="list-group">
<a class="list-group-item" href="https://www.flickr.com/photos/13481006@N08/sets/72157650312130202/">
Dorset Image from Iain Houston</a>
<a class="list-group-item" href="http://glyphicons.com/">
Glyphicons.com provide the Halflings glyphs font that comes free of cost with Bootstrap 3</a>
</div>
<!-- /list-group -->
</footer>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~ Required Javascript files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="js/bootstrap3_player.js"></script>
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
<!-- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ -->
</div><!-- container -->
</body>
</html>