Nettoyage
@ -10,8 +10,8 @@ RUN sed -i 's/#gzip/gzip/g' /etc/nginx/nginx.conf && \
|
|||||||
make && \
|
make && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
COPY video/ /usr/share/nginx/html/video/
|
COPY video/dash/ /usr/share/nginx/html/video/dash/
|
||||||
WORKDIR /usr/share/nginx/html/video
|
WORKDIR /usr/share/nginx/html/video/dash
|
||||||
RUN ./mpd_generate.sh 1_Compilation_Graphique.webm
|
RUN ./mpd_generate.sh 1_Compilation_Graphique.webm
|
||||||
|
|
||||||
COPY . /usr/share/nginx/html
|
COPY . /usr/share/nginx/html
|
||||||
|
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 52 KiB |
@ -214,7 +214,7 @@
|
|||||||
<!-- Custom scripts for this template -->
|
<!-- Custom scripts for this template -->
|
||||||
<script src="js/creative.min.js"></script>
|
<script src="js/creative.min.js"></script>
|
||||||
|
|
||||||
<script src="https://reference.dashif.org/dash.js/nightly/dist/dash.all.min.js"></script>
|
<script src="http://cdn.dashjs.org/latest/dash.all.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var masthead_video = document.getElementById("masthead-video");
|
var masthead_video = document.getElementById("masthead-video");
|
||||||
@ -260,7 +260,7 @@
|
|||||||
fullscreen(masthead_video);
|
fullscreen(masthead_video);
|
||||||
};
|
};
|
||||||
|
|
||||||
var url = "video/1_Compilation_Graphique/1_Compilation_Graphique.mpd";
|
var url = "video/dash/1_Compilation_Graphique/1_Compilation_Graphique.mpd";
|
||||||
var player = dashjs.MediaPlayer().create();
|
var player = dashjs.MediaPlayer().create();
|
||||||
player.getDebug().setLogToBrowserConsole(false);
|
player.getDebug().setLogToBrowserConsole(false);
|
||||||
player.initialize(document.querySelector("#masthead-video"), url, true);
|
player.initialize(document.querySelector("#masthead-video"), url, true);
|
||||||
|