Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
classcodeia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ClassCode
classcodeia
Merge requests
!11
The source project of this merge request has been removed.
Tuto3-ai4t : Set french video but default to english video
Merged
Tuto3-ai4t : Set french video but default to english video
(removed):master
into
master
Overview
0
Commits
17
Pipelines
0
Changes
1
Merged
ROSPARS Benoit
requested to merge
(removed):master
into
master
3 years ago
Overview
0
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
898faf37
3 years ago
master (base)
and
latest version
latest version
6d8edaf5
17 commits,
3 years ago
version 1
898faf37
16 commits,
3 years ago
1 file
+
4
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
assets/js/tuto3-ai4t.js
+
4
−
3
Options
@@ -29,6 +29,7 @@
let
lang
=
$application
.
attr
(
'
data-lang
'
);
// Lang file extension used for subtitles
let
langExt
=
lang
&&
lang
===
'
fr
'
?
''
:
`-
${
lang
}
`
;
let
videoExt
=
lang
&&
lang
===
'
fr
'
?
''
:
`-en`
;
// Chemins
let
dataFolder
=
baseURL
+
"
/data
"
;
@@ -80,7 +81,7 @@
case
'
/
'
:
// Chemin de la vidéo à insérer dans la template :
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
T
uto3-
video1-EN
.mp4
"
;
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
t
uto3-
activite1-vid1
"
+
videoExt
+
"
.mp4
"
;
templateParams
.
subtitlePath
=
tutorialFolder
+
"
/vtt/tuto3-activite1-vid1
"
+
langExt
+
"
.vtt
"
;
break
;
case
'
/tester
'
:
@@ -199,13 +200,13 @@
case
'
/comprendre/etape1
'
:
// Chemin de la vidéo à insérer dans la template :
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
T
uto3-
video2-EN
.mp4
"
;
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
t
uto3-
activite1-vid2
"
+
videoExt
+
"
.mp4
"
;
templateParams
.
subtitlePath
=
tutorialFolder
+
"
/vtt/tuto3-activite1-vid2
"
+
langExt
+
"
.vtt
"
;
break
;
case
'
/conclure/etape1
'
:
// Chemin de la vidéo à insérer dans la template :
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
T
uto3-
video3-EN
.mp4
"
;
templateParams
.
videoPath
=
"
https://files.inria.fr/mecsci/classcodeIAI/tuto3-ai4t/
t
uto3-
activite1-vid3
"
+
videoExt
+
"
.mp4
"
;
templateParams
.
subtitlePath
=
tutorialFolder
+
"
/vtt/tuto3-activite1-vid3
"
+
langExt
+
"
.vtt
"
;
break
;
Loading