Skip to content

Instantly share code, notes, and snippets.

@dbonneville
Created June 26, 2012 14:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbonneville/2995963 to your computer and use it in GitHub Desktop.
Save dbonneville/2995963 to your computer and use it in GitHub Desktop.
Video playlist CSS and HTML
.video-holder {
float: left;
width: 636px;
}
.video-holder .video-header {
border-top: 1px solid #B4CC95;
height: 14px;
margin: 10px 0 0;
overflow: auto;
padding: 5px;
}
.video-holder .video-header .video-type {
color: #222222;
float: left;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
}
.video-holder .video-header .view-legal {
float: right;
font-size: 11px;
text-transform: uppercase;
}
.video-holder .video {
background-color: #EDEFEC;
float: left;
height: 270px;
outline-style: none;
width: 480px;
}
.video-holder .video #videoPlayer {
cursor: pointer;
}
.video-holder .playlist {
background-color: #EDEFEC;
border-left: 1px solid #999999;
border-top: 2px solid #B4CC95;
float: right;
min-height: 268px;
width: 155px;
}
.video-holder .playlist ul {
list-style: none outside none;
margin: 0;
padding: 0;
}
.video-holder .playlist {
}
.video-holder .playlist a {
border-bottom: 1px solid #C1BBAE;
color: #222222;
display: block;
font-size: 11px;
font-weight: bold;
outline-style: none;
padding: 4.5px 0 4px 16px;
text-decoration: none;
}
#####
<!-- video before rendered -->
<div class="video-holder" id="videoHolder" style="display: none;">
<div class="video-header">
<div class="video-type">
<SharePointWebControls:FieldValue FieldName="AssetClass" runat="server"/>
Videos/Webcasts</div>
<div class="view-legal" style="display:none">(<a href="#">View
Legal</a>)</div>
</div>
<div class="video">
<a id="videoPlayer">
<img id="videoThumbnail" />
</a>
</div>
<div class="clips playlist">
<div id="videoMarkup"></div>
</div>
</div>
<!-- end video -->
<!-- video AS RENDERED by FlowPlayer inside of SP2010 -->
<div style="display: inline;" id="videoHolder" class="video-holder">
<div class="video-header">
<div class="video-type"> Bond
Videos/Webcasts</div>
<div style="display:none" class="view-legal">(<a href="#">View
Legal</a>)</div>
</div>
<div class="video"> <a id="videoPlayer"> <img id="videoThumbnail" src="../../SiteCollectionImages/video-splash/capability-Bond.jpg"> </a> </div>
<div class="clips playlist"> <a href="http://pyramis.edgesuite.net/asset_mgnt_videos/a20121698_global_bond_qa_v3_am_051812.flv" class="playing">Global Bond Strategies: Jamie Stuttard</a><a href="http://goober.com/sample.flv">Fixed Income: Global Bond Capabilities</a><a href="http://goober.com/sample.flv">Q1 2012 Bond Market Update with Chris Sullivan</a> </div>
</div>
@rcrumit
Copy link

rcrumit commented Oct 14, 2018

.video-holder {
float: left;
width: 636px;
}
.video-holder .video-header {
border-top: 1px solid #B4CC95;
height: 14px;
margin: 10px 0 0;
overflow: auto;
padding: 5px;
}
.video-holder .video-header .video-type {
color: #222222;
float: left;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
}
.video-holder .video-header .view-legal {
float: right;
font-size: 11px;
text-transform: uppercase;
}
.video-holder .video {
background-color: #EDEFEC;
float: left;
height: 270px;
outline-style: none;
width: 480px;
}
.video-holder .video #videoPlayer {
cursor: pointer;
}
.video-holder .playlist {
background-color: #EDEFEC;
border-left: 1px solid #999999;
border-top: 2px solid #B4CC95;
float: right;
min-height: 268px;
width: 155px;
}
.video-holder .playlist ul {
list-style: none outside none;
margin: 0;
padding: 0;
}
.video-holder .playlist {
}
.video-holder .playlist a {
border-bottom: 1px solid #C1BBAE;
color: #222222;
display: block;
font-size: 11px;
font-weight: bold;
outline-style: none;
padding: 4.5px 0 4px 16px;
text-decoration: none;
}

Videos/Webcasts
<div class="video">
	<a id="videoPlayer">
		<img id="videoThumbnail" />
	</a>
</div>

<div class="clips playlist">
	<div id="videoMarkup"></div>
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment