Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6ab5bb2f
Commit
6ab5bb2f
authored
Jun 18, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed videoalpha stub to exclude video sources, but include
the rest of the player.
parent
3b37e0c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
lms/templates/videoalpha.html
+28
-28
No files found.
lms/templates/videoalpha.html
View file @
6ab5bb2f
...
@@ -2,34 +2,34 @@
...
@@ -2,34 +2,34 @@
<h2>
${display_name}
</h2>
<h2>
${display_name}
</h2>
% endif
% endif
%if settings.MITX_FEATURES['STUB_VIDEO_FOR_TESTING']:
<div
<div
id=
"stub_out_video_for_testing"
></div>
id=
"video_${id}"
%else:
class=
"video"
<div
data-streams=
"${youtube_streams}"
id=
"video_${id}"
${'
data-sub=
"{}"
'.
format
(
sub
)
if
sub
else
''}
class=
"video"
data-streams=
"${youtube_streams}"
%
if
not
settings
.
MITX_FEATURES
['
STUB_VIDEO_FOR_TESTING
']
:
${'
data-sub=
"{}"
'.
format
(
sub
)
if
sub
else
''}
${'
data-mp4-source=
"{}"
'.
format
(
sources
.
get
('
mp4
'))
if
sources
.
get
('
mp4
')
else
''}
${'
data-mp4-source=
"{}"
'.
format
(
sources
.
get
('
mp4
'))
if
sources
.
get
('
mp4
')
else
''}
${'
data-webm-source=
"{}"
'.
format
(
sources
.
get
('
webm
'))
if
sources
.
get
('
webm
')
else
''}
${'
data-webm-source=
"{}"
'.
format
(
sources
.
get
('
webm
'))
if
sources
.
get
('
webm
')
else
''}
${'
data-ogg-source=
"{}"
'.
format
(
sources
.
get
('
ogv
'))
if
sources
.
get
('
ogv
')
else
''}
${'
data-ogg-source=
"{}"
'.
format
(
sources
.
get
('
ogv
'))
if
sources
.
get
('
ogv
')
else
''}
%
endif
data-caption-data-dir=
"${data_dir}"
data-show-captions=
"${show_captions
}"
data-caption-data-dir=
"${data_dir
}"
data-start=
"${start
}"
data-show-captions=
"${show_captions
}"
data-end=
"${end
}"
data-start=
"${start
}"
data-caption-asset-path=
"${caption_asset_path
}"
data-end=
"${end
}"
data-autoplay=
"${autoplay
}"
data-caption-asset-path=
"${caption_asset_path
}"
>
data-autoplay=
"${autoplay}"
<div
class=
"tc-wrapper"
>
>
<article
class=
"video
-wrapper"
>
<div
class=
"tc
-wrapper"
>
<section
class=
"video-play
er"
>
<article
class=
"video-wrapp
er"
>
<div
id=
"${id}"
></div
>
<section
class=
"video-player"
>
</section
>
<div
id=
"${id}"
></div
>
<section
class=
"video-controls"
>
</section>
</section>
</article
>
<section
class=
"video-controls"
></section
>
</div
>
</article
>
</div>
</div>
%endif
</div>
% if sources.get('main'):
% if sources.get('main'):
<div
class=
"video-sources"
>
<div
class=
"video-sources"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment