Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Minetest Website
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minetest
Minetest Website
Commits
eb70c6e8
Commit
eb70c6e8
authored
4 years ago
by
Peter Nerlich
Browse files
Options
Downloads
Patches
Plain Diff
add moving scene
parent
d26c1ae5
No related branches found
No related tags found
No related merge requests found
Pipeline
#22261
passed
4 years ago
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/img/scene.webm
+0
-0
0 additions, 0 deletions
public/img/scene.webm
public/index.html
+31
-8
31 additions, 8 deletions
public/index.html
with
31 additions
and
8 deletions
public/img/scene.webm
0 → 100644
+
0
−
0
View file @
eb70c6e8
File added
This diff is collapsed.
Click to expand it.
public/index.html
+
31
−
8
View file @
eb70c6e8
...
@@ -118,6 +118,18 @@
...
@@ -118,6 +118,18 @@
</div>
</div>
</section>
</section>
<section
id=
"scene"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"embed-responsive embed-responsive-16by9 border rounded mb-5"
>
<video
src=
"img/scene.webm"
type=
"video/webm"
class=
"img-fluid force-autoplay"
playsinline
autoplay
loop
onclick=
"this.play()"
></video>
</div>
</div>
</div>
</div>
</section>
<section
id=
"gallery"
class=
"tm-section-pad-top"
>
<section
id=
"gallery"
class=
"tm-section-pad-top"
>
<div
class=
"container tm-container-gallery"
>
<div
class=
"container tm-container-gallery"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -161,14 +173,6 @@
...
@@ -161,14 +173,6 @@
</figcaption>
</figcaption>
</figure>
</figure>
</a>
</a>
<a
href=
"img/sheep.png"
>
<figure
class=
"effect-honey tm-gallery-item"
>
<img
src=
"img/sheep-crop.png"
alt=
"Image"
class=
"img-fluid"
>
<figcaption>
<h2><i>
Ist das ein Konsens-Schaf?
</i></h2>
</figcaption>
</figure>
</a>
<a
href=
"img/bike.png"
>
<a
href=
"img/bike.png"
>
<figure
class=
"effect-honey tm-gallery-item"
>
<figure
class=
"effect-honey tm-gallery-item"
>
<img
src=
"img/bike-crop.png"
alt=
"Image"
class=
"img-fluid"
>
<img
src=
"img/bike-crop.png"
alt=
"Image"
class=
"img-fluid"
>
...
@@ -268,6 +272,25 @@
...
@@ -268,6 +272,25 @@
<script
src=
"js/jquery.singlePageNav.min.js"
></script>
<script
src=
"js/jquery.singlePageNav.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script
src=
"js/bootstrap.min.js"
></script>
<script>
<script>
let
autoplay_forced
=
false
;
function
force_autoplay
()
{
if
(
!
autoplay_forced
)
{
autoplay_forced
=
true
;
document
.
querySelectorAll
(
'
video.force-autoplay
'
).
forEach
(
e
=>
{
e
.
addEventListener
(
'
loadeddata
'
,
()
=>
{
e
.
play
();
});
e
.
play
();
});
}
}
document
.
addEventListener
(
'
click
'
,
()
=>
{
force_autoplay
();
});
function
getOffSet
(){
function
getOffSet
(){
var
_offset
=
450
;
var
_offset
=
450
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment