diff --git a/src/views/Static.vue b/src/views/Static.vue
index 1f46da0..6899762 100644
--- a/src/views/Static.vue
+++ b/src/views/Static.vue
@@ -27,13 +27,15 @@ export default {
// console.log('videolinks', videolinks);
for (let link of videolinks){
console.log('videolink', link);
- let iframe;
+ let url, iframe;
switch (link[1]) {
case 'vimeo.com':
- iframe = ``
+ url = `https://player.vimeo.com/video/${link[3]}`;
+ iframe = ``
break;
case 'www.youtube.com':
- iframe = ``
+ url = `https://www.youtube.com/embed/${link[3]}`;
+ iframe = ``
break;
}
console.log('iframe', iframe);