Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vf-core-mirror
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
embl.org
vf-core-mirror
Commits
42505cae
Commit
42505cae
authored
5 years ago
by
Stu Robson
Browse files
Options
Downloads
Patches
Plain Diff
uses yaml for url
parent
a1491e8f
No related branches found
No related tags found
No related merge requests found
Pipeline
#17918
passed with stage
in 1 minute and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/vf-video/vf-video.config.yml
+2
-0
2 additions, 0 deletions
components/vf-video/vf-video.config.yml
components/vf-video/vf-video.njk
+1
-1
1 addition, 1 deletion
components/vf-video/vf-video.njk
with
3 additions
and
1 deletion
components/vf-video/vf-video.config.yml
+
2
−
0
View file @
42505cae
...
...
@@ -3,3 +3,5 @@ label: Video
preview
:
'
@preview--blocks'
context
:
component-type
:
block
url
:
https://www.youtube.com/embed/nGNvYjYQaaQ?rel=0
This diff is collapsed.
Click to expand it.
components/vf-video/vf-video.njk
+
1
−
1
View file @
42505cae
<div class="vf-video">
<iframe width="560" height="315" src="
https://www.youtube.com/embed/nGNvYjYQaaQ?rel=0
" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<iframe width="560" height="315" src="
{{ url }}
" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
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