Blank Project ('-' * 13) Give me a template to quickly get Dev'ing...
A Pen by Siôn J. Lewis on CodePen.
var PlayVideo = function (chid, vid) { | |
var rootURL = window.location.protocol + "//" + window.location.host; | |
var siteURL = rootURL + '/portals/hub' | |
var wsPath = '/_api/VideoService/Channels(guid\'' + chid + '\')/Videos(guid\'' + vid + '\')?$Select=Title,Description,CreatedDate,DefaultEmbedCode,VideoDurationInSeconds,ID,VideoProcessingStatus,ThumbnailUrl'; | |
var followAPI = siteURL + wsPath; | |
var getVideo = function () { | |
jQuery.ajax({ | |
url: followAPI, | |
headers: { |
<link rel="shortcut icon" type="image/png" href="/Content/jasmine/jasmine_favicon.png"> | |
@Styles.Render("~/Content/jasmine/jasmine.css") | |
@Scripts.Render("~/Scripts/jasmine/jasmine.js") | |
@Scripts.Render("~/Scripts/jasmine/jasmine-html.js") | |
@Scripts.Render("~/Scripts/jasmine/boot.js") | |
@Scripts.Render("~/Scripts/jquery-1.10.2.js") | |
@Scripts.Render("~/Scripts/knockout-3.2.0.debug.js") | |
@Scripts.Render("~/Scripts/jasmine/jasmine.js") |
<property name="UseCache" type="bool">False</property> |
<label id="lblExample-{{{{attr:ID}}}}" title="{{{{attr:Product}}}}">{{:Product}}</label> |
var namespace = function (ns_string, obj) { | |
var parts = ns_string.split('.'), | |
parent = window, | |
pl, i; | |
for (i = 0, pl = parts.length; i < pl; i++) { | |
parent = parent[parts[i]] = parent[parts[i]] || (i == pl - 1 && obj ? (typeof obj == 'function' ? (obj() || {}) : obj) : {}); | |
} | |
return parent; |
<xsl:stylesheet | |
version="1.0" | |
exclude-result-prefixes="x xsl cmswrt cbq" | |
xmlns:x="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime" | |
xmlns:cbq="urn:schemas-microsoft-com:ContentByQueryWebPart"> | |
<xsl:output method="html" indent="no" media-type="text/html" omit-xml-declaration="yes"/> | |
<xsl:param name="cbq_isgrouping" /> | |
<xsl:param name="cbq_columnwidth" /> |
<webParts> | |
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> | |
<metaData> | |
<type name="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart, Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> | |
<importErrorMessage>Cannot import this Web Part.</importErrorMessage> | |
</metaData> | |
<data> | |
<properties> | |
<property name="GroupBy" type="string" /> | |
<property name="FilterValue2" type="string" /> |
Blank Project ('-' * 13) Give me a template to quickly get Dev'ing...
A Pen by Siôn J. Lewis on CodePen.