Skip to content

Commit

Permalink
Add note about embedding #27
Browse files Browse the repository at this point in the history
  • Loading branch information
dcabo committed Oct 6, 2019
1 parent 854a77a commit 3d76f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/VideoModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export default {
)})</small>`
},
videoUrl: function() {
// XXX: We try embedding from a given time, but it doesn't work, see #27
const parts = this.currentResult.link.split('/')
// get video id + time parameter (XXXXXXX?t=YYhXXmZZs)
return `https://secure-embed.rtve.es/drmn/embed/video/${
parts[parts.length - 1]
}`
Expand Down

0 comments on commit 3d76f3b

Please sign in to comment.