Commit d72865a3 authored by The GAFAM tech collective's avatar The GAFAM tech collective
Browse files

Deactivate GitHub embedding widget

parent 1e2fcfaf
...@@ -12,6 +12,7 @@ in progress ...@@ -12,6 +12,7 @@ in progress
- Hide sections "Resources", "Translations" and "What else?" - Hide sections "Resources", "Translations" and "What else?"
- Update page metadata - Update page metadata
- Update some texts and page content - Update some texts and page content
- Deactivate GitHub embedding widget
2018-02-06 0.6.0 2018-02-06 0.6.0
---------------- ----------------
......
...@@ -14,6 +14,15 @@ $(document).ready(function() { ...@@ -14,6 +14,15 @@ $(document).ready(function() {
// Propagate version // Propagate version
$('#version').html(__version__); $('#version').html(__version__);
// Initialize GitHub embedding widget
//initialize_github_embed();
// Initialize video player
initialize_video_player();
});
function initialize_github_embed() {
// Embed things from GitHub // Embed things from GitHub
githubEmbed('.github-gafam-poster-translations', { githubEmbed('.github-gafam-poster-translations', {
"owner": "gafam", "owner": "gafam",
...@@ -78,7 +87,9 @@ $(document).ready(function() { ...@@ -78,7 +87,9 @@ $(document).ready(function() {
} }
] ]
}); });
}
function initialize_video_player() {
// Initialize video player // Initialize video player
require('flowplayer/dist/skin/skin.css') require('flowplayer/dist/skin/skin.css')
...@@ -93,9 +104,9 @@ $(document).ready(function() { ...@@ -93,9 +104,9 @@ $(document).ready(function() {
clip: { clip: {
sources: [{ sources: [{
type: 'video/mp4', type: 'video/mp4',
src: 'https://ptrace.gafam.info/2017-12-22_lqdn-gafam-paris.mp4' src: 'https://ptrace.gafam.info/assets/2017-12-22_lqdn-gafam-paris.mp4'
}] }]
} }
}); });
}); }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment