Skip to content

Commit 413122c

Browse files
committed
Added video test.
1 parent bc63b34 commit 413122c

File tree

3 files changed

+40
-12
lines changed

3 files changed

+40
-12
lines changed

testXourses.TODO/videoTest.tex

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
\documentclass{ximera}
2+
\title{YouTube Embedding Useage}
3+
4+
%\input{preamble.tex}% Only add a preamble file if it is actually necessary for the demo/test.
5+
\begin{document}
6+
\begin{abstract}
7+
Testing/Demo the embedding of a YouTube video.
8+
\end{abstract}
9+
\maketitle
10+
11+
{{\Huge \bfseries Last Updated: \today}} \\
12+
13+
14+
\section{Basic Usage}
15+
You can embedd a YouTube video by using the \verb|\youtube| command, with the hash part of the url from the youtube url as the argument to the command.
16+
So, to embed a youtube video with link \texttt{https://www.youtube.com/watch?v=CmzKQ3PSrow} you would use the command
17+
\verb|\youtube{CmzKQ3PSrow}|
18+
19+
\section{Intended Outcome of Test}
20+
Below should be an embedded YouTube video.
21+
22+
\section{Start of Test/Demo Area}
23+
\youtube{CmzKQ3PSrow}
24+
25+
\hrulefill
26+
27+
28+
\end{document}

testXourses/videoTest.tex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
\documentclass{xourse}
2+
3+
\title{Tests: Video Embeddings}
4+
5+
6+
\begin{document}
7+
\maketitle
8+
9+
\activity{testFiles/videoBase}
10+
11+
12+
\end{document}

0 commit comments

Comments
 (0)