Skip to content

Instantly share code, notes, and snippets.

@alikhajeh1
Created February 1, 2012 16:06
Show Gist options
  • Save alikhajeh1/1717736 to your computer and use it in GitHub Desktop.
Save alikhajeh1/1717736 to your computer and use it in GitHub Desktop.
Web App Experiment Show Page, GET /videos/ID returns this page
<!DOCTYPE html>
<html>
<head>
<title>MyApp</title>
<link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/twitter/bootstrap.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/scaffolds.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/videos.css?body=1" media="all" rel="stylesheet" type="text/css" />
<script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery-ui.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/alerts.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/buttons.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/dropdown.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/modal.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/twipsy.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/popover.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/scrollspy.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/tabs.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap.js?body=1" type="text/javascript"></script>
<script src="/assets/videos.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/c/video.js"></script>
</head>
<body>
<p id="notice"></p>
<p>
<b>Name:</b>
Test 1
</p>
<p>
<b>Description:</b>
</p>
<p>
<b>Author:</b>
Ali 1
</p>
<p>
<b>Movie:</b>
<video id="the_video" class="video-js vjs-default-skin" controls
preload="auto" width="640" height="480" poster="http://localhost:3000/system/videos/30/png/gizmo.png"
data-setup="{}">
<source src="http://localhost:3000/system/videos/30/mp4/gizmo.mp4" type='video/mp4'>
</video>
</p>
<a href="/videos/30/edit">Edit</a> |
<a href="/videos">Back</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment